Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stylesheet #576

Closed
humanitiesNerd opened this issue Nov 10, 2023 · 1 comment
Closed

stylesheet #576

humanitiesNerd opened this issue Nov 10, 2023 · 1 comment

Comments

@humanitiesNerd
Copy link

I made this map with Tilemaker and Proomaps (it's a PMTiles file served through MaplibreJs)

PMTiles

Only 2 layers are visible here

  1. landuse (filled with a solid color)
  2. transportation (in black)

This is because the stylesheet is improvised

This other stylesheet seems to be available

but

  1. it's in json (shouldn'i it be .css ?)
  2. it contains lots of keys I don't recognize
  3. it contains a lot of urls pointing to things and I'm not sure what they are
  4. it's complicated

Isn't there a complete but simple ready made stylesheet I could use ?

Thanks

@systemed
Copy link
Owner

You can use the openmaptiles-compatible stylesheet that's bundled with tilemaker. See config-openmaptiles.json and process-openmaptiles.lua in https://github.com/systemed/tilemaker/tree/master/resources.

The Maplibre/Mapbox GL renderers use a JSON format of stylesheet, not CSS. I'd recommend reading through tilemaker's docs/ directory to understand how vector tiles work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants