I want to add multiples overlays to my map.For example, I add NavigatorOverlay and ScaleBarOverlay like this :NavigatorOverlay navigator = new NavigatorOverlay(); jMap.addMapOverlay(navigator); ScaleBarOverlay scaleBar = new ScaleBarOverlay(); jMap.addMapOverlay(scaleBar);
The problem is that the 2 overlays are displayed at the same location on my map (bottom-left by default), so I tried to move one of them by playing with .setLocation(), but nothing change.How can I display one Overlay on top-left of may map for example ? or any other location ?(And if my application JFrame change, how can I be sure that overlay position will foloww correctly ?)