AnsweredAssumed Answered

First time launch, zoom out bug

Question asked by jonas.tiskus4 on Jul 24, 2018

When i launch an app, and when app gets on onPause() method (when i move to another activity or move app to background) and then resume, I get zoomed out of the map. It centers my location, but the scale, and last screen position is changed, reset. Second time, when i move app to background or state it as onPause() method, and go back to the map activity it acts normal and saves my scale and my last screen position. I found it very irritating when i move around map, go to another activity, then go back to map activity it rescales me and autopans me to my position.

 

locationDisplay.startAsync();
locationDisplay.setAutoPanMode(LocationDisplay.AutoPanMode.OFF);
locationDisplay.setInitialZoomScale(6666.0);

Outcomes