Working with maps I have an activity that starts when there is no connection and uses offline maps (MapQuest). The activity is working fine, the map is displayed and all overlays, markers, etc. When a user clicks on one of the marker information windows, another activity starts, and at that moment I get a bunch of red error messages in the log, although the application does not crash. These messages (init in the header) seem to talk about the ZoomButtons and touch buttons. As for ZoomButtons or touch events (multitouch) in the code, there are only 2 lines:
map.setBuiltInZoomControls(true); map.setMultiTouchControls(true);
not some kind of dialogue ...
red error messages disappear, but, of course, the user cannot zoom in or out ...
Since the error (with the "true" parameter) occurs only when another activity is started, I thought that I need to add something to on pause (), that is:
onPause(){ map.setBuiltInZoomControls(false); map.setMultiTouchControls(false); super.OnPause(); }
---- but that doesnβt change anything ... Any hint ??? - Thanks in advance!
maps osmdroid
Philippe Castellin Dec 02 '14 at 16:44 2014-12-02 16:44
source share