bboxPolygon()

将bbox转换为Polygon。

var bbox = [0, 0, 10, 10];

var poly = turf.bboxPolygon(bbox);

参数

参数名 类型 描述
bbox BBox  

返回值

Feature <Polygon>

results matching ""

    No results matching ""