I am trying to insert a Map View in a Java Swing application for the user to visualize and edit his recorded .gpx routes.
I saw in this thread people recommending the MapPanel API, however I can't find any documentation. I can insert the map on my app, however I need more documentation to understand the API functionalities.
Anyone can help me on this matter? This is what I have so far:
MapPanel mapPanel = new MapPanel();
mapPanel.setBounds(276, 77, 722, 632);
frame.add(mapPanel);
Problems:
1) I can't disable the information window that is shown in front of the map
mapPanel.getOverlayPanel().setVisible(!mapPanel.getOverlayPanel().isVisible()); //disable the overlay info box
mapPanel.getControlPanel().setVisible(!mapPanel.getControlPanel().isVisible()); //disable the overlay control box
2) Can I draw routes on top of the map?
3) Can I insert waypoints on the map?
Thanks for your help ;)
Filipe