Type Alias LoadGeoJSONParameters
LoadGeoJSONParameters: GeoJSONWorkerOptions & {
data?: GeoJSON;
dataDiff?: GeoJSONSourceDiff;
request?: RequestParameters;
type: "geojson";
updateCluster?: boolean;
}
data?: GeoJSON;
dataDiff?: GeoJSONSourceDiff;
request?: RequestParameters;
type: "geojson";
updateCluster?: boolean;
}
Type Declaration
Optionaldata?: GeoJSONOptionaldataDiff?: GeoJSONSourceDiffGeoJSONSourceDiff to apply to the existing GeoJSON source data.
Optionalrequest?: RequestParametersRequest parameters including a URL to fetch GeoJSON data.
type: "geojson"
OptionalupdateCluster?: booleanUpdate the supercluster using the latest worker cluster options.
Was this helpful?
GeoJSON data to set as the source's data.