Skip to content

GeoJSONFeatureDiff

GeoJSONFeatureDiff: object

A geojson feature diff object

Type declaration

addOrUpdateProperties?

optional addOrUpdateProperties: object[]

The properties to add or update along side their values

id

id: GeoJSONFeatureId

The feature ID

newGeometry?

optional newGeometry: GeoJSON.Geometry

If it's a new geometry, place it here

removeAllProperties?

optional removeAllProperties: boolean

Setting to true will remove all preperties

removeProperties?

optional removeProperties: string[]

The properties keys to remove

Defined in

src/source/geojson_source_diff.ts:31