question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose Google Maps API in embeds

See original GitHub issue

From #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:closed
  • Created 7 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
javitoninocommented, Feb 15, 2017

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.

1reaction
alonsogarciapablocommented, Feb 15, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found