On Feb 24, 9:30 am, Andrew <[email protected]> wrote:
> Thank you.
>
> @geo. Do you suggest I not use the GPolyline class?

No, I was only saying that the built in "editable" GPolyline
functionality doesn't do what you want.  You will have to implement
the functionality yourself (create the GPolyline), but that should be
doable since you only need 2 vertices, the double click functionality
allows the creation of polylines with many vertices.

> I looked at the
> GPolylineOptions class and it does not have options for a 2 vertex polyline.

The GPolylineOptions class is an anonymous javascript object that
contains properties for a polyline, not a polyline in itself.

  -- Larry



>
> @xelawho. I’m not sure what middle bit of code you are talking about. I
> don’t think theres any code in the “function startLine()” that I can
> remove.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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