When you perform a zoom operation on the map you'll notice that first you get a zoomed map image and then some (usually short) time later you get the updated map pixels. I am trying to do some optimized drawing in the map overlay and to do this I need to know when the actual updated map is displayed because this changes the projection. I tried a couple of things inside my Overlay.draw() method, but still haven't had any luck:
1. Compare MapView.getZoomLevel() with a previously saved level. The zoom level changes immediately on hitting the zoom buttons, before the screen even updates at all, so this doesn't work. 2. Compare Projection.metersToEquatorPixels(1.0f) with a previously saved value. This changes when the screen is zoomed, but before the actual new updated map is displayed. 3. Compare the passed in Projection with a previously saved Projection. I was hopeful this would work, but apparently the Projection object stays the same while its internal values are modified, so this doesn't work at all. Anyone have an idea how I can do this? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

