【发布时间】:2015-01-20 13:30:20
【问题描述】:
请看看这个小提琴,http://jsfiddle.net/HoffZ/Zu55b/
为什么它会在drawMan.setDrawingMode(null) 上导致错误“递归过多”
drawMan.setDrawingMode(google.maps.drawing.OverlayType.POLYGON);
google.maps.event.addListener(drawMan, 'overlaycomplete', function (event) {
// When draw mode is set to null you can edit the polygon you just drawed
drawMan.setDrawingMode(null);
});
这不是我的小提琴,但我的代码中有这个确切的问题
【问题讨论】: