-
Notifications
You must be signed in to change notification settings - Fork 3
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 description on how to set API key per style #2
Comments
Confirmed this approach with Brett: Using Tangram's JS API:
The house style YAML files would change something like:
(updated 2016.12.22 and again 2017.01.05) |
/cc @kkowalsky |
hey @meetar do you mind double checking this? |
The new (updated) |
@kkowalsky The example looks good, though I don't know anything about the (updated) |
@meetar the new (updated) |
@blair1618 Does Tangram ES support |
ES does support |
@tallytalwar Nice! What's the ES equivalent code snippet to JS's:
|
In our C++ interface you could do this: map->loadScene(
"https://mapzen.com/carto/bubble-wrap-style/bubble-wrap.yaml",
false,
{ "global.sdk_mapzen_api_key", "mapzen-xxxxxx" }
); We're currently working on the Android interface for this (tangrams/tangram-es#1173). (updated 2016.12.22 for global variable name and 2017.01.05 for example key) |
(Bubble Wrap and Refill already support the general |
Most the styles must be updated to allow this, though.
Question: /cc @bcamper
If we remove it, then our product pages would need to set them on map init, and the Github repo index pages would also need to set them on init.
The text was updated successfully, but these errors were encountered: