-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add support for easy custom layer generation in generate-layers #261
Comments
Somehow I can't link the pull request I created :( |
Weird that it won't auto link. Alternatively, can you paste a link to the PR url here? |
Found it! #262 |
Is your feature request simply to call We should be able to accomplish this without any additional dependency. |
Yes, that is correct - more specifically, I want to execute generate_layers from NPM and not by cloning the whole repo... |
We removed The 4.x version of the For generating a custom style on the command line here is a proposal of what it would look like: We can use the existing dependency However I'm not sure if a command like For a custom theme to be a |
Description
It should be easily possible to generate custom style layers with generate-layers.
I will create a pull request that allows the following syntax:
npx protomaps-themes-base protomaps
.Notice the missing theme key at the end!
The pull request will then look for a file named protomapsStyles.ts in the current directory and then generate the layers based on the specs from this file.
The text was updated successfully, but these errors were encountered: