I see - you wanted to know which edge your mouse is over so that you can insert the new vertex in the right place? Unfortunately, that's currently not in the event. Drawing manager can only insert a new vertex when dragging a control point in the middle of the edge.
On Friday, November 16, 2012 5:05:22 AM UTC+11, Pil wrote: > > Thanks, Enoch. > > Hmm, I mean my polylines are more flexible than the drawing managers > possibilities. > Or should this be possible with the drawing manager? > > http://www.wolfpil.de/v3/snapable-lines.html > > > > > On Nov 14, 11:46 pm, "Enoch Lau (Google Employee)" > <enoch...@google.com> wrote: > > If you want to get edge, path, vertex for non-editable > polylines/polygons, > > feel free to file a feature request: > http://code.google.com/p/gmaps-api-issues/issues/list > > > > > > > > > > > > > > > > On Thursday, November 15, 2012 2:25:44 AM UTC+11, Pil wrote: > > > > > Thanks, I do not prefer to make my polylines editable, so the > > > flexibility of my polylines are beyond the 'editability' of the > > > drawing manager. > > > > > On Nov 13, 9:18 am, "Enoch Lau (Google Employee)" > > > <enoch...@google.com> wrote: > > > > The properties edge, path, vertex are only on the event object for > > > editable > > > > polylines/polygons. > > > > > > On Tuesday, November 13, 2012 6:16:01 PM UTC+11, Pil wrote: > > > > > > > It seems that the PolyMouseEvents as documented here > > > > > > > > https://developers.google.com/maps/documentation/javascript/reference... > > > > > > > aren't implemented yet. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/jY6O6L2n69sJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.