Skip to content

GeoJSONSourceDiff

GeoJSONSourceDiff: object

The geojson source diff object

Type declaration

add?

optional add: GeoJSON.Feature[]

An array of features to add

remove?

optional remove: GeoJSONFeatureId[]

An array of features IDs to remove

removeAll?

optional removeAll: boolean

When set to true it will remove all features

update?

optional update: GeoJSONFeatureDiff[]

An array of update objects

Defined in

src/source/geojson_source_diff.ts:9