Juguang  - thanks for the feedback! I had some trouble with the
DOUBLE_CLICK event handler as it wasn't getting triggered when a
marker is added to the screen. I also think that my users might double-
click on the map to start drawing a line, rather than single clicking.
Perhaps a small info window on the latest marker with a 'finish
drawing' link or similar might be a clear way to stop drawing?

Mario - Just checked out vidmap.de - great site, I like the clean,
uncluttered design. I'm going to add the 'snap to road' feature as an
option to the demo which can be switched on or off (my use case is for
a cycling map which might have on or off-road routes). Did you find an
easy way to insert intermediate waypoints?


On Jul 28, 9:47 am, MP <[email protected]> wrote:
> I've also implemented editable polylines in flash for a project. The
> advantage is that points snap to roads automatically. Lines between
> the points are following the roads as well, which is very useful in
> many cases. It is also possible to insert an unlimited number of
> intermediate waypoints.
>
> An open source demo is in the works.
>
> You can view the output of the editor right onwww.vidmap.deor sign
> in to try it yourself.
>
> -Mario
>
> On Jul 27, 11:34 pm, Fred <[email protected]> wrote:
>
> > I've had a chance to put a simple editable polyline example together,
> > which can be viewed here:
>
> >http://emu.appspot.com/code/editablePolylines/EditablePolylines.html
>
> > Right-click to view source.
>
> > Fred.
>
> > On Jul 27, 10:42 am, Fred <[email protected]> wrote:
>
> > > Thanks for the tips - I'll take a look the cloud/sparkles demo as a
> > > start, and let you know how I get on.
>
> > > Fred.
>
> > > On Jul 27, 9:40 am, "pamela (Google Employee)" <[email protected]>
> > > wrote:
>
> > > > Good point, Jugang.
>
> > > > In the cloud/sparkles trail demo, the cloudy trail is very similar to
> > > > a polyline - it's a line drawn with increasing thickness and then
> > > > blurred after. It could help inspire you if you were to write your own
> > > > polyline 
> > > > class:http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CloudOverla...
>
> > > > Otherwise, you could make polyline editable with markers for draggable
> > > > vertices and such.
>
> > > > - pamela
>
> > > > On Mon, Jul 27, 2009 at 9:04 AM, Juguang XIAO<[email protected]> wrote:
> > > > > Hi Fred,
>
> > > > > You can get what you want without reading the source. I think. You 
> > > > > may not
> > > > > even need to extend Polyline, if I were you. You can create your 
> > > > > custom
> > > > > overlay, which gains you more control on almost everything of overlay.
> > > > > Juguang
> > > > > On Mon, Jul 27, 2009 at 1:08 AM, Fred <[email protected]> wrote:
>
> > > > >> Hi,
>
> > > > >> Is it possible to download the actionscript source code for the
> > > > >> compiled Flash API SWC file? (an SVN url would be ideal). I'm
> > > > >> interesting in extending the Polyline class to enable editing.
>
> > > > >> Thanks,
>
> > > > >> Fred.
>
> > > > > --
> > > > > =============
> > > > > Juguang XIAO
> > > > > Beijing, China
--~--~---------~--~----~------------~-------~--~----~
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