random-points-on-polygon:使用http在多边形内创建N个随机点

时间:2021-05-14 15:33:12
【文件属性】:
文件名称:random-points-on-polygon:使用http在多边形内创建N个随机点
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-14 15:33:12
JavaScript 多边形随机点 用在多边形内创建n个随机点! 安装 npm install random-points-on-polygon 用法 randomPointsOnPolygon(数字,多边形,[属性],[fc]) 参量 number :Integer-生成的随机点数 polygon :Feature <(Polygon | MutiPolygon)>-在点内创建边界 properties :Object [properties = {}]-分配给每个随机点要素的properties对象 fc :布尔值[fc = false]-默认返回点要素数组。 为true ,返回点的要素集合 退货 points :默认数组Feature <(Points >>-当fc设置为true它返回FeatureCollection <(Points)> 例子 var randomPointsOnPolygon =
【文件预览】:
random-points-on-polygon-master
----.gitignore(25B)
----package.json(978B)
----index.js(2KB)
----README.md(2KB)
----test()
--------index.js(3KB)

网友评论