As Matt said already, it really depends if it's JS or Actionscript. In case you're using Javascript you happily can rely on the comfortable built-in methods listed under http://code.google.com/intl/en/apis/maps/documentation/reference.html#GPolyline , e.g. "enableDrawing()".
If you're working with Actionscript you will have to program these functions on your own. It's not so difficult and time consuming as it looks at the first glance. I more or less re-built all the polyline-drawing functions from the JS- API in one of my projects. I also managed to add the insertion of intermediate points to existing lines just as we know it from www.google.com/maps . Have a look at: http://www.vidmap.de/lang/en -Mario Am 31.05.2009 um 18:00 schrieb Josh: > > I want to be able to embed a google map with a "Draw a line" tool > similar to what's over at Google's My Maps. Then, allow the user to > save their "line" and have others view it. I thought this would be > something the API would handle pretty directly but I dont see anything > about it in the docs...? > > Maybe this question belongs over at the regular Google Maps API > discussion? > > Thanks! > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
