Closed davidbambalan closed 5 years ago
Can you be more specific, or give an example on what you are trying to achieve?
What do you mean by "pans the map in circles"? zoomAndPanTo() zooms to the specified level, and pans to the specified location.
How do I pan the map according to the location of the GPS sensor I'm using?
Does the getLocation(float x, float y)
still work?
Still not fully sure what you are trying to do.
But if you simply want to convert geo-locations to screen coordinates check out the SimpleConversionMapApp
and if you want to pan the map to a location then check out the PanAnimationMapApp
example.
Writing
zoomAndPanTo();
indraw()
pans the map in circles. Is there a way I can change the location dynamically through code and not hard-coding it?