跳到主要内容

flywave-draw-controls.pointobject.fromgeojson

Home > @flywave/flywave-draw-controls > PointObject > fromGeoJSON

PointObject.fromGeoJSON() method

Signature:

static fromGeoJSON(mapView: MapView, geoJson: any, id?: string): PointObject | null;

Parameters

Parameter

Type

Description

mapView

MapView

geoJson

any

id

string

(Optional)

Returns:



[PointObject](./flywave-draw-controls.pointobject.md) \| null