-
|
Hi. I am just looking at maplibre-native to see if it is usable for us. I have compiled the source and the example map provided in the documentation works. But I wanted to test mbgl-render on another map source, but I am not able to get it to work. This is the command in Windows: And this is the output: Does anyone here know why I get errors? Is the map source not in a compatible format. The owner of the map tell me that it is mapbox compatible. Is it an error in the maplibre-native render program or is it me who is using it wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
All URLs in a TileJSON endpoint need to be absolute. I have heard a rumour that ArcGIS strategically almost but not quite implements TileJSON just to steer people towards their propietary solutions. In any case, should be an easy fix, just make sure the all TileJSON URLs are absolue. You can host it yourself somewhere (or as a GitHub Gist). Or you can just drop the |
Beta Was this translation helpful? Give feedback.
-
|
@SVH-Powel I vibe coded a URL rewriter to make ArcGIS style JSON /TileJSON spec compliant. Try this style: Nice map!
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks, @louwers :-) |
Beta Was this translation helpful? Give feedback.

All URLs in a TileJSON endpoint need to be absolute.
I have heard a rumour that ArcGIS strategically almost but not quite implements TileJSON just to steer people towards their propietary solutions.
In any case, should be an easy fix, just make sure the all TileJSON URLs are absolue. You can host it yourself somewhere (or as a GitHub Gist).
Or you can just drop the
urlhere. In general you want to choose between a TileJSONurlor atilesarray... Having both is not common.