-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
MapTiler Access Token does not get added to URLs #869
Comments
I would say that I hoped maptiler would be inclined to fix this, but they have their editor, so I'm not sure any help would come from there. |
The code around replacing the access token is weird, and potentially buggy, or does not expect this flow. Bottom line, more of a feature than a bug :-) |
Then the bottom line would be to remove those fields which suggest that it works ;) A better flow would probably be to offer values which maputnik replaces ... {key} or {maptilerKey} and then replaces them everywhere. |
It works for glyphs and maybe sprites I believe. |
Probably it would be quite easy to add a possibility to add variables (in the shape of {variable}) which then can get replaced. Like this it would be universal ... I might add a PR |
I tried to use a JSON style in which MapTiler-Datasource are used. I left all the key={key} in there in order for Maputnik to replace it when I add it in the "Style Setting".
Unfortunately it does not apply them.
Steps to reproduce:
style.json
The text was updated successfully, but these errors were encountered: