I can:

polyline.deleteVertex(3);
polyline.insertVertex(3, newLatLng);

and I guess this gets me what I want.  Still would like to know if you
can move instead of replace the vertex just to move it.

On Aug 27, 2:57 pm, "David J. Burger" <[EMAIL PROTECTED]> wrote:
> How can I move a vertex programmatically?  Say I have a reference to a
> vertex with:
>
> var vertex = polyline.getVertex(3);
>
> How would I change the lat / lng of the vertex.  It doesn't have a
> setLatLng method.  It appears to have x, y, lat, lng properties but
> none of them seem to do anything when set.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to