flywave-draw-controls.geojsondrawcontrols.addgeojson
Home > @flywave/flywave-draw-controls > GeoJSONDrawControls > addGeoJSON
GeoJSONDrawControls.addGeoJSON() method
Add GeoJSON data to drawing controls
Signature:
addGeoJSON(geoJson: GeoJson): number;
Parameters
Parameter | Type | Description |
|---|---|---|
geoJson | GeoJson | GeoJSON data |
Returns:
number
Number of successfully added objects