小编sab*_*aba的帖子

drawManager.setDrawingMode(null) 导致太多递归

请查看这个小提琴,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);
});
Run Code Online (Sandbox Code Playgroud)

这不是我的小提琴,但我的代码中有这个确切的问题

jquery google-maps-api-3

4
推荐指数
1
解决办法
2292
查看次数

标签 统计

google-maps-api-3 ×1

jquery ×1