Skip to main content

GeoJSONSourceOptions

GeoJSONSourceOptions: GeoJSONSourceSpecification & object

Options object for GeoJSONSource.

Type declaration

collectResourceTiming?

optional collectResourceTiming: boolean

data

data: GeoJSON.GeoJSON | string

workerOptions?

optional workerOptions: GeoJSONWorkerOptions

Last updated December 15, 2025.