On this page

Type Alias LoadGeoJSONParameters

LoadGeoJSONParameters: GeoJSONWorkerOptions & {
    data?: GeoJSON;
    dataDiff?: GeoJSONSourceDiff;
    request?: RequestParameters;
    type: "geojson";
    updateCluster?: boolean;
}

Type Declaration

  • Optionaldata?: GeoJSON

    GeoJSON data to set as the source's data.

  • OptionaldataDiff?: GeoJSONSourceDiff

    GeoJSONSourceDiff to apply to the existing GeoJSON source data.

  • Optionalrequest?: RequestParameters

    Request parameters including a URL to fetch GeoJSON data.

  • type: "geojson"
  • OptionalupdateCluster?: boolean

    Update the supercluster using the latest worker cluster options.

Was this helpful?
SDK JS
Reference
LoadGeoJSONParameters