Hi, in my application I would like to have two maps displayed on different tabs. (One tab will show a route, while the other tab displays various markers.)
Is it possible to use two different MapView instances within the same application?
Alternatively, is it possible to share the MapView between different tabs, but display different overlays in each tab?
thanks!
You should use one MapComponent. MapView controls only map size and handles UI (touch/keypress) events, so you can probably have two MapView-s which share same MapComponent. Or just re-use same MapView also.
Basically you should re-configure map (add points or line, set center etc) always when user switches tab. As you have base map already there, then it should be pretty fast and invisible for the user.
/JaakL