Replies: 1 comment 6 replies
-
When using your json (the part inside the
Which means you need to place an array inside tiles and not url (add I advise to start with looking at the examples here to understand how to use maplibre: Here's the simples example: You can take the code there to jsbin, replace the style property with your own and look for errors in the console to better understand what's wrong with your style. You can also locally setup maputnik to edit the style. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Howdy!
I've already:
1.Downloaded osm.pbf file for whole world.
2.Trimmed the osm.pbf file to include only a part of the map representing the USA.
3.USA.osm.pbf was converted to .mbtiles format using tilemaker tool.
4.USA.mbtiles was converted to .pmtiles format and uploaded to our AWS s3 instance, on which we are hosting protomaps server so we can access .mvt tiles using coords.
More detailed explanation of what I've done can be found in the discussion that I will provide in the next paragraph.
I've opened a discussion inside protomaps-leafet repository which explains my problem. As you can see in the discussion, author of the protomaps advised to me that I should switch from Leaflet to MapLibre GL JS to handle my case.
Can you guys help me to run my maps using my .mvt tiles and MapLibre GL JS?
I've already tried creating JSON styles file for MapLibre which can be viewed HERE
Unfortunately, map is not working.
What am I doing wrong?
Can someone help please?
Beta Was this translation helpful? Give feedback.
All reactions