Expose Google Maps API in embeds
See original GitHub issueFrom #11447. Branch upon google-maps
.
Expose visualization owner google_maps_key
. After talking to @alonsogarciapablo , probably the better way is at a window-level var googleMapsKey
, just like authTokens
is.
user.google_maps_key
already takes into account returning user’s or organization’s key.
PS: in addition, check if there’s a quick fix for var authTokens = JSON.parse('null');
that is generated in this map, which doesn’t seem right.
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Embedding a map | Maps Embed API - Google Developers
This guide shows how to embed an interactive map onto your web page. Creating the Maps Embed API URL. The following is an...
Read more >6.9e Embed a Google Map in Divi Without an API Key - YouTube
Getting the “This page can't load Google Maps correctly. Do you own this website?” error message when you try to embed a map...
Read more >WordPress Google Maps Guide: Embed With Or Without A ...
Check out these different ways you can embed WordPress Google Maps content, use the Google Maps API, and how to keep it from...
Read more >How to embed Google Maps with api key from secrets - ASP ...
I would like to store the API Key for Google Maps and/or other APIs in application secrets. And to have it as a...
Read more >Mitigating Risk With Using Google Maps API Keys in the ...
This may seem like a non-factor to developers properly managing credentials on the backend as to not expose them to the client. However,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the editor, we only used the query string. Using the API key could be dangerous, as that gives access to a whole bunch of stuff. IMHO, we should be imposing best practices in our users and I would go for the client_id only route.
We’ve access to
current-user
in the case of Builder, so we’re good there.