Hide the cancel button when editing shapes using the Google Maps API v3

Is there a way to hide (i.e. not show, because it's annoying) the cancel button when editing a shape on a Google v3 map?

+7
source share
2 answers

Try the undocumented suppressUndo parameter.

Seems to work fine with google.maps.Circle

 var c = new google.maps.Circle({ map: myMap, ... suppressUndo: true }); 

related issue in the problem tracking system: http://code.google.com/p/gmaps-api-issues/issues/detail?id=4013

+13
source

All Articles