Type alias LoadGeoJSONParameters

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

Parameters needed to load a geojson to the worker

Type declaration

  • Optional data?: string

    Literal GeoJSON data. Must be provided if request.url is not.

  • Optional dataDiff?: GeoJSONSourceDiff
  • Optional request?: RequestParameters
  • type: "geojson"