概述
布尔计算
booleanClockwise
booleanContains
booleanCrosses
booleanDisjoint
booleanEqual
booleanPointInPolygon
booleanPointOnLine
转换和测量
length
area
along
bbox
bboxPolygon
buffer
circle
simplify
辅助方法
feature
point
lineString
polygon
模拟数据
randomPosition
randomPoint
randomLineString
randomPolygon
Published with GitBook
randomPosition
randomPosition()
随机生成一个坐标
var
position = turf.randomPosition([
-180
,
-90
,
180
,
90
])
参数
参数名
类型
描述
bbox
double[]
限制范围
返回值
double[]
results matching "
"
No results matching "
"