Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Use New Google Map API Access #580

Open
ozero opened this issue Jun 26, 2018 · 6 comments
Open

Use New Google Map API Access #580

ozero opened this issue Jun 26, 2018 · 6 comments
Labels

Comments

@ozero
Copy link

ozero commented Jun 26, 2018

  • OLD way (won't work after Jul 16th 2018.):
    <script type="text/javascript" src="//maps.google.com/maps/api/js?sensor=true"></script>

  • NEW:
    <script type="text/javascript" src="//maps.google.com/maps/api/js?key=(PASTE-YOUR-GOOGLE-MAP-APY-KEY-HERE)"></script>

  • Get your new Google Map API key at:
    https://console.cloud.google.com/apis/library/maps-backend.googleapis.com

You can check whether your gmaps.js uses New API Access with this Google official Chrome extension.
"Google Maps Platform API Checker"
https://chrome.google.com/webstore/detail/google-maps-platform-api/mlikepnkghhlnkgeejmlkfeheihlehne?hl=ja

@mahadihasan1400
Copy link

thank you very much for your guide line

@Dimimo
Copy link

Dimimo commented Jul 21, 2018

Thanks @ozero, very helpful. May I notice that the sensor parameter is no longer required as noted Maps api overivew > troubleshooting. No indication since when that is.

@ozero
Copy link
Author

ozero commented Jul 21, 2018

@dimino Thanks, Updated!

@oneilonline
Copy link

oneilonline commented Oct 25, 2018

What page do we find this code to update?
I edited line 1883 on gmaps.js but it didn't fix the issue.

@ozero
Copy link
Author

ozero commented Oct 26, 2018

I don't think that you need to edit gmaps.js .
Just add your API key to the <script> tag that call Google map API.

@razumnyak razumnyak mentioned this issue Jan 31, 2019
@othyn
Copy link

othyn commented Mar 9, 2019

Thank you! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants