NavigatorOverlay navigator = new NavigatorOverlay(); jMap.addMapOverlay(navigator); ScaleBarOverlay scaleBar = new ScaleBarOverlay(); jMap.addMapOverlay(scaleBar);
NavigatorOverlay navigator = new NavigatorOverlay(); navigator.setLocation(new java.awt.Point(10, 10)); myJMap.addMapOverlay(navigator);
I also confirm this is not possible to change location of a ScaleBarOverlay (no error/exception but setLocation() do nothing).
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.