Issue with style.json and tiles vector URL #4417
Replies: 2 comments
-
Can you please share a jsbin/codepen with the relevant code? |
Beta Was this translation helpful? Give feedback.
-
Hi @HarelM ! Thank you for helping jsfiddle: https://jsfiddle.net/RaphyCollab/oq19abd4/2/ I've taken the HTML and Javascript code from @HarelM What is missing and/or wrong? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As explained and asked in Slack Forum : https://osmus.slack.com/archives/C01G3D28DAB/p1721219062146369?thread_ts=1721213195.422509&cid=C01G3D28DAB
I want to use this TileServer: https://tileserver.linuxbabe.com/ with MapLibre
The style.json should be this: https://tileserver.linuxbabe.com/styles/basic-preview/style.json
,
and, based on https://tileserver.linuxbabe.com/data/v3.json
the tiles vector URL should be this: https://tileserver.linuxbabe.com/data/v3/{z}/{x}/{y}.pbf
But If I put those two URLs in their fields in the HTML, I do not get any output :
This is the complete
map.html
file :What am I missing and / or am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions