This reverses #3095. Rationale: * We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API. * We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
26 lines
433 B
JSON
26 lines
433 B
JSON
{
|
|
"version": 8,
|
|
"name": "Water",
|
|
"sources": {
|
|
"mapbox": {
|
|
"type": "vector",
|
|
"tiles": ["asset://streets/{z}-{x}-{y}.vector.pbf"]
|
|
}
|
|
},
|
|
"layers": [{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "red"
|
|
}
|
|
}, {
|
|
"id": "water",
|
|
"type": "fill",
|
|
"source": "mapbox",
|
|
"source-layer": "water",
|
|
"paint": {
|
|
"fill-color": "blue"
|
|
}
|
|
}]
|
|
}
|