[Google Maps API v2] Re: remove overlay for polyline2 and get lat/long values of lines
> Basically, I need help understanding how to keep track of the polyline
> ID
> I would also like to know where exactly the lat/long values get stored
> for the polyline?
I'm not sure that I understand your question or your code, but I'll
take a wild stab at it and maybe you can glean something of use...
to manipulate a single polyline that way it would seem to me to be
easiest to push all of your polylines onto an array, then loop through
them and single out the one that you want to remove, style, etc.
again, just guessing, but it seems to me that your code doesn't
actually use lat langs, you're just drawing a line on top of the map
at this point. to get at the coordinates I suspect that you would have
to use getVertex. hope that helps.
--
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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home