Type alias GeoJSONSourceOptions

GeoJSONSourceOptions: GeoJSONSourceSpecification & {
    collectResourceTiming?: boolean;
    data: GeoJSON.GeoJSON | string;
    workerOptions?: GeoJSONWorkerOptions;
}

Options object for GeoJSONSource.

Type declaration

  • Optional collectResourceTiming?: boolean
  • data: GeoJSON.GeoJSON | string
  • Optional workerOptions?: GeoJSONWorkerOptions