Question on maplibre example: Where does the source-layer id come from? #430
Answered
by
bdon
michaelkirk
asked this question in
Q&A
-
I assumed that But with regards to PMTiles/js/examples/maplibre.html Line 53 in 721c65e ...
layers: [
{
"id":"buildings",
"source": "example_source",
"source-layer":"landuse", // <-- ❓what does this correspond to?
"type": "fill",
"paint": {
"fill-color": "steelblue"
}
},
... From what I can see in the pmtiles metadata, there is no vector layer with id pmtiles metadata via |
Beta Was this translation helpful? Give feedback.
Answered by
bdon
Aug 7, 2024
Replies: 1 comment 2 replies
-
You are right, it's a problem with the example file. I'll replace it with a different one. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bdon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are right, it's a problem with the example file. I'll replace it with a different one.