mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-30 20:41:08 +00:00
11 lines
682 B
Markdown
11 lines
682 B
Markdown
## <MapboxGL.VectorSource />
|
||||
|
|
### VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.<br/>The location of and metadata about the tiles are defined either by an option dictionary or by an external file that conforms to the TileJSON specification.
|
|||
|
|
|
|||
|
|
### props
|
|||
|
|
| Prop | Type | Default | Required | Description |
|
|||
|
|
| ---- | :--: | :-----: | :------: | :----------: |
|
|||
|
|
| id | `string` | `MapboxGL.StyleSource.DefaultSourceID` | `false` | A string that uniquely identifies the source. |
|
|||
|
|
| url | `string` | `none` | `false` | A URL to a TileJSON configuration file describing the source’s contents and other metadata. |
|
|||
|
|
|
|||
|
|
|