randomPoint()

随机生成多个点。

var points = turf.randomPoint(25, {bbox: [-180, -90, 180, 90]})

参数

参数名 类型 描述
count int 点数量
options Object  

options

参数名 类型 默认值 描述
bbox double[] [-180,-90,180,90] 限制范围

返回值

FeatureCollection <Point>

results matching ""

    No results matching ""