On Feb 11, 4:34 am, Zoyx <[email protected]> wrote: > Hopefully this is easy. I have the user draw a bunch of polygons, > then hit a "done" button. At this point, I want to dump the > coordinates of each polygon to a file. What I am stumbling on, how do > I get at the coordinates of each polygon?
You need to create an array that holds references to them. > ... what are their reference IDs? It doesn't look like you have made any. I usually make a global array. Then when you start a polygon, add it to that array. When you are done, iterate through the array saving the vertices (and probably the other editable properties also, which you probably also have to save yourself). > What I have so far...http://home.zoyx.com/temp/pireppoly.html -- Larry -- 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.
