new GeoJsonSource(layer, sourceOptions, styleOptions)
GoMap/Sources/GeoJsonSource.ts, line 11
Creates an instance of GeoJsonSource.
| Name | Type | Description |
|---|---|---|
layer |
Go3dLayer |
The layer associated with this source. |
sourceOptions |
GeoJsonSourceOptions |
Configuration options for the GeoJSON source. |
styleOptions |
GeoJsonSourceOptions |
Configuration options for styling the GeoJSON features. |
Extends
- undefined
