As to where this question belongs, that depends on whether or not you
are using the Flash or JavaScript API.  However, the general process
to doing what you want is similar in either technology.

You simply need to handle the appropriate events and build a line.

For example once the user is in the "draw a line mode", you would
capture the lat/long each time you get a MOUSE_DOWN event and create a
Polyline object based on those points.  In the Flash API, since there
is not setVertices method you will need to remove/recreate a polyline
object each time.  How you store the data that you capture so you can
display it to other users is really up to you (SQL, etc).

On May 31, 12:00 pm, Josh <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to