GeoJSONFeatureDiff
GeoJSONFeatureDiff =
object
Defined in: src/source/geojson_source_diff.ts:31
A geojson feature diff object
Properties
addOrUpdateProperties?
optionaladdOrUpdateProperties:object[]
Defined in: src/source/geojson_source_diff.ts:51
The properties to add or update along side their values
key
key:
string
value
value:
any
id
id:
GeoJSONFeatureId
Defined in: src/source/geojson_source_diff.ts:35
The feature ID
newGeometry?
optionalnewGeometry:GeoJSON.Geometry
Defined in: src/source/geojson_source_diff.ts:39
If it's a new geometry, place it here
removeAllProperties?
optionalremoveAllProperties:boolean
Defined in: src/source/geojson_source_diff.ts:43
Setting to true will remove all preperties
removeProperties?
optionalremoveProperties:string[]
Defined in: src/source/geojson_source_diff.ts:47
The properties keys to remove