views:

48

answers:

2

Hello,

I can't figure out how to tell my Map to redraw its overlays once I've updated them. Can someone enlighten me?

Currently the user has to touch the screen before the map is redrawn.

Thanks!

A: 

Try calling populate() on the overlay that contains the pins.

Chris Thompson
After I've added it to the map overlays?
Biff MaGriff
Yep, any time you add a pin to it, I believe you need to call `populate()`
Chris Thompson
A: 

I think you must call invalidate() from an UI thread or postInvalidate() from an non-UI thread on the MapView object you are using.

Flo
Thanks Flo, I'll give it a shot.
Biff MaGriff