Type Alias GeoJSONSourceDiff
type GeoJSONSourceDiff = {
add?: Feature[];
remove?: GeoJSONFeatureId[];
removeAll?: boolean;
update?: GeoJSONFeatureDiff[];
}
add?: Feature[];
remove?: GeoJSONFeatureId[];
removeAll?: boolean;
update?: GeoJSONFeatureDiff[];
}
Index
Properties
Was this helpful?
The geojson source diff object - processed in the following order: remove, add, update. Provides an efficient way to update GeoJSON data in a map source without having to replace the entire dataset.