gmaps icon indicating copy to clipboard operation
gmaps copied to clipboard

Use New Google Map API Access

Open ozero opened this issue 6 years ago • 6 comments

  • 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

ozero avatar Jun 26 '18 05:06 ozero

thank you very much for your guide line

mahadihasan1400 avatar Jul 17 '18 14:07 mahadihasan1400

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.

Dimimo avatar Jul 21 '18 03:07 Dimimo

@Dimino Thanks, Updated!

ozero avatar Jul 21 '18 03:07 ozero

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

oneilonline avatar Oct 25 '18 22:10 oneilonline

I don't think that you need to edit gmaps.js . Just add your API key to the

ozero avatar Oct 26 '18 02:10 ozero

Thank you! 👍

othyn avatar Mar 09 '19 16:03 othyn