I was able create my own enableEditing Polygon using v3, by starting with the "Example: Polyline Complex" demo. It was easy because of the MVCObject binding feature for the polyline's path property. So once you update the path the polyline updates at the sametime.
Can't give away the code... because it cost me a week to get it to work. Just make the marker draggable and update the CORRECT vertex in the polyline's path. Add an eventHandler for a map click to extend the line. And context menus for each marker to add/delete vertices in the middle of the line.. PS: I hated the v2 version with the draggable handle in the middle to line. It cluttered up the display. On Jun 10, 5:14 am, Nianwei Liu <[email protected]> wrote: > There is a sample under gmaps-samples-v3.googlecode > com under poly. You can modify it to match v2 behavor. > > On May 24, 10:20 pm, rmurta <[email protected]> wrote: > > > > > On API V2 I am able to edit polylines just calling enableEditing is > > there anything close to this on V3 ? same for the enableDrawing. > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" 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 > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted > > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
