I have an overlay class, which I then added to the controller in activity class (this is based on basic map tutorial on this forum).
Using java Syntax Highlighting
OverlayController overlayController = mapView.createOverlayController();
MyOverlay overlay = new MyOverlay();
Parsed in 0.033 seconds, using GeSHi
And in MyOverlay draw method, I log a message, just to make sure when draw is actually called.
I started the app, displays the map, but then i noticed that the overlay draw's method is called several times (the log message appears multiple times). Why is the draw method is called several times? Is this the intented behavior?
How do I control when to refresh the map?