Brilliant, thanks. Worked a charm On Nov 19, 2:36 am, "Enoch Lau (Google Employee)" <[email protected]> wrote: > What you can do is have a DrawingManager attached to a map, with > drawingControl: false (to hide the default buttons). Then, you can have > your html button do the following on click: > drawingManager.setDrawingMode(google.maps.drawing.OverlayType.POLYGON); > and that'll bring the map into drawing polygon mode programmatically. > > Enoch
-- 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.
