Is there a way to hide (ie: don't show, because its annoying) the undo button when editing a shape on a v3 Google Map?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try the undocumented suppressUndo
parameter.
It seems to work fine with google.maps.Circle
var c = new google.maps.Circle({
map: myMap,
...
suppressUndo: true
});
related issue in the issue tracker: http://code.google.com/p/gmaps-api-issues/issues/detail?id=4013