I have been able to find a hack of sorts to get this to work...
somewhat.

In the draw method of the overlay I do this:

items.set(0, new OverlayItem(newGeoPoint, overlay.getTitle(),
overlay.getSnippet()));

This seems to work, however 9 times out of 10 when you tap the overlay
it doesn't receive focus.

Is there a better way of doing this than this hack?

Thanks

On Dec 28, 6:14 pm, mscwd01 <[email protected]> wrote:
> I have a map with ten overlays which signify map pins. Occasionally I
> would like to reposition the overlays to mark a different location on
> the map. How do I change the GeoPoint position of a map overlay after
> I have already created it and added it to map.getOverlays() ?
>
> I have spent absolutely ages trying to achieve this functionality - I
> just hope it is possible!
>
> Many 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to