概述
布尔计算
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
bboxPolygon
bboxPolygon()
将bbox转换为Polygon。
var
bbox = [
0
,
0
,
10
,
10
];
var
poly = turf.bboxPolygon(bbox);
参数
参数名
类型
描述
bbox
BBox
返回值
Feature <Polygon>
results matching "
"
No results matching "
"