Saturday, July 9, 2011

[android-developers] Invalidate only one map overlay

Hi,

I'm doing my own MyLocationOverlay implementation to bypass extremely slow current position display.

The problem that I've is that I want to make a little animation changing the color of the position marker and the only way I know to redraw is to call invalidate o MapView.
But that way I also invalidate all the  other overlays. Is there an efficient way if only I want to change color and other overlays don't need redraw?

A lot of thanks in advance,

PD: Is avaiable the current code of MyLocationOverlay?

---
Joan Pujol Espinar
www.joanpujol.cat

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate