1

I'm developing a java swing application in which i need to show the map of some area and allow user to put markers on it. I've goggled a lot on the topic but unfortunately i haven't got any how i can do it. I came across some ideas like displaying a web browser in swing just like JXBrowser (i can't afford JXBrowser). And i'm also not sure if this way will allow me adding markers.

Please guide me some proper way to do the trick. Please do tell me if i can do it offline or online any way suitable.

1 Answers1

0

Have you looked at OpenStreetMap? In particular JOSM

lance-java
  • 25,497
  • 4
  • 59
  • 101
  • Yes i have seen JOSM. I Found out JXMapViewer and JMapViewer are some ways to integrate maps in swing, but i cannot find any their jar's and samples because Swinglabs website no more exists. –  Jul 28 '14 at 10:40
  • If it was me... I'd try and embed a browser and do it via javascript. – lance-java Jul 28 '14 at 13:02
  • how can i handle scripting in java? –  Jul 28 '14 at 18:17
  • http://stackoverflow.com/questions/48249/is-there-a-way-to-embed-a-browser-in-java – lance-java Jul 28 '14 at 20:30