Ahoj, začínám prozkoumávat MapLibre a následuji příklad na https://developers.arcgis.com/maplibre-gl-js/layers/add-a-vector-tile-layer/ ale s vlastním datovým souborem. Přidal jsem tento poměrně jednoduchý kód:<\/P>
<\/P>
map.addSource("lights", {
Turns out it was my own mistake. I didn't realize that the source-layer within the vector tileset was not the same name I used when creating the layer. I'm not (yet) an expert in vector tile layers, as it turns out 🙂
I do see an issue which is that the feature properties seem to be missing, but that's not a MapLibre issue.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.