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.
22 lines
331 B
JSON
22 lines
331 B
JSON
{
|
|
"version": 8,
|
|
"sources": {
|
|
"fake": {
|
|
"type": "vector",
|
|
"tiles": ["fake"]
|
|
}
|
|
},
|
|
"layers": [{
|
|
"id": "annotation",
|
|
"type": "fill",
|
|
"source": "fake",
|
|
"source-layer": "fake",
|
|
"layout": {
|
|
"visibility": "none"
|
|
},
|
|
"paint": {
|
|
"fill-color": "rgba(255,0,0,1)"
|
|
}
|
|
}]
|
|
}
|