Skip to main content

flywave-draw-controls.geojsondrawcontrols

Home > @flywave/flywave-draw-controls > GeoJSONDrawControls

GeoJSONDrawControls class

GeoJSON drawing controls class Control specifically designed for drawing and editing GeoJSON data

Signature:

export declare class GeoJSONDrawControls extends MapDrawControls 

Extends: MapDrawControls

Constructors

Constructor

Modifiers

Description

(constructor)(mapView, mapControls)

Constructs a new instance of the GeoJSONDrawControls class

Methods

Method

Modifiers

Description

addGeoJSON(geoJson)

Add GeoJSON data to drawing controls

createObjectsFromGeoJSON(geoJson)

Create drawing objects from GeoJSON data

updateGeoJSON(geoJson)

Update existing objects with GeoJSON data