Hello,

I'm using a MapView that shows about 1000 points of interest using a
class SitesOverlay that extends ItemizedOverlay<OverlayItem>.
There is a big performance problem, and the Map behaves slowly on
movements, scales etc.

So I decided to distribute the points of interest into many smaller
Overlay tiles, each of them covering only a part of the map.
Now I'm looking into the most efficient way of telling the map
controller which of the areas to activate and deactivate when the
covered area, i.e. when MapView.getLatitudeSpan() or
MapView.getLongitudeSpan() changed.

Where do you think would be the best place to handle a notification
when the MapView changed? I tried to override the draw() method of my
MapView, but it gets called more often than only on those changes, and
anyway I have the feeling that this is not the correct way to handle
the issue.

Any suggestions or ideas are welcome!

Thanks,
</Pascal>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to