Skip to content

GeoJSONSourceDiff

GeoJSONSourceDiff = object

Defined in: src/source/geojson_source_diff.ts:9

The geojson source diff object

Properties

add?

optional add: GeoJSON.Feature[]

Defined in: src/source/geojson_source_diff.ts:21

An array of features to add


remove?

optional remove: GeoJSONFeatureId[]

Defined in: src/source/geojson_source_diff.ts:17

An array of features IDs to remove


removeAll?

optional removeAll: boolean

Defined in: src/source/geojson_source_diff.ts:13

When set to true it will remove all features


update?

optional update: GeoJSONFeatureDiff[]

Defined in: src/source/geojson_source_diff.ts:25

An array of update objects