javascript 使用传单js绘制多边形
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14436747/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
drawing polygon using leaflet js
提问by Sudha
Im trying to draw a polygon using leaflet js. But the problem Im facing is that when the size increases, it fails to draw the polygon. The same thing is happening when I tried with google maps also. I can draw max of 21 polygon.
我正在尝试使用传单 js 绘制多边形。但是我面临的问题是,当尺寸增加时,它无法绘制多边形。当我尝试使用谷歌地图时,同样的事情也在发生。我最多可以绘制 21 个多边形。
Please anyone give me a solution
请任何人给我一个解决方案
回答by AbdullahDiaa
you can try Leaflet.draw plugin
你可以试试 Leaflet.draw 插件
https://github.com/Leaflet/Leaflet.draw/
https://github.com/Leaflet/Leaflet.draw/