maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'
https://www.maplibre.org/maputnik
MIT License
2.08k stars 397 forks source link

Styles not loading - self hosted map server #899

Closed ajh2oman closed 4 months ago

ajh2oman commented 5 months ago

Hi, I'm trying to edit the map style on my self-hosted server but I can't seem to get the styles to properly load. I have the full planet of OSM loaded on the server but when I try to add any of the gallery styles the map appears blank. OSM Liberty loads the globe but the Natural Earth layer only if that helps point to the problem at all. Zoomstack also works but only for a small part of the world. I assume there is some misconnect between the OSM map file on my server and Maputnik...

osm liberty

HarelM commented 5 months ago

Can you clarify the steps to reproduce the issue? It is not clear from the above report...

ajh2oman commented 5 months ago

Steps to reproduce: Open -> Gallery Styles -> OSM Liberty Only Natural Earth available Open -> Gallery Styles -> Positron Blank Map

I followed instructions on https://openmaptiles.org/docs/style/maputnik/

HarelM commented 5 months ago

I would recommend following the wiki for instructions on how to use maputnik, and I would recommend also starting to use it in the online version and not a locally hosted one that probably doesn't have the right CORS permissions and the right key for maptiler tiles... https://maplibre.org/maputnik/

ajh2oman commented 5 months ago

Ok thanks, I'll give that a try

HarelM commented 4 months ago

Closing for now, if this is still relevant, please let us know.