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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/zllO7BmJjwoJ.
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.

Reply via email to