Type alias GeoJSONSourceDiff

GeoJSONSourceDiff: {
    add?: GeoJSON.Feature[];
    remove?: GeoJSONFeatureId[];
    removeAll?: boolean;
    update?: GeoJSONFeatureDiff[];
}

The geojson source diff object

Type declaration

  • Optional add?: GeoJSON.Feature[]

    An array of features to add

  • Optional remove?: GeoJSONFeatureId[]

    An array of features IDs to remove

  • Optional removeAll?: boolean

    When set to true it will remove all features

  • Optional update?: GeoJSONFeatureDiff[]

    An array of update objects