Closed rmglennon closed 6 years ago
@meetar - thanks for the review! Have a look at the current edits and see what you think.
Definitely more comprehensive! I probably should have clarified, those were mostly examples for how to use import
generally – I think the last example with the local file will cover 99% of the use cases for obfuscating an API, and I think the others could be covered with a link to https://mapzen.com/documentation/tangram/import/.
Thanks for the reviews, @meetar (and for having thorough docs to link to)!
This adds a section to the docs on how to protect your API key by importing a key from a separate file.
Seemed better to talk about it like this instead of defining the global in the same scene file. I think this is how you do it, but @meetar @burritojustice, have a look!