tags:

views:

33

answers:

1

If a user does a "pinch zoom" on the map, my overlays don't properly size until the end. This has been noted in other posts, so i assume it is a known issue.

Problem is, my client finds it totally unacceptable, as I am tasked with making the android app look as good as the iphone version.

Is there any way to correct this, even if it is a horrible hack? For instance, can I subclass the mapview and handle drawing or override some other method?

A: 

The common solution is to not draw overlay during zoom animation.

UPDATED: Sorry, I've confused zoom and move. The problem with zoom is that you can't rely on zoom level. Instead you need to draw your overlay based on MapView.getProjection().

cement
can you elaborate? how do I detect when it is zooming and avoid drawing? (note that, although one of my overlays I am drawing stuff directly, in another it just displays a set of markers using ItemizedOverlay )
rob
I've updated my answer.
cement