The code has not been amended for more than 4 years and now Google maps does not load, say:
This page has not loaded Google Maps correctly. See the details technical of the problem in the console of JavaScript
Here's a screenshot of the error:
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityThe code has not been amended for more than 4 years and now Google maps does not load, say:
This page has not loaded Google Maps correctly. See the details technical of the problem in the console of JavaScript
Here's a screenshot of the error:
I too faced this issue in one of my integration, Actually Google updated their Javascript map API recently and now it is mandatory to integrate key with javascript map api.
I believe right now you are having this in your code base,
<script type="text/javascript" src="https://maps.google.com/maps/api/js"></script>
replace it by adding a key parameter,like that,
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=<your_api_key>"></script>
It is very recent change that's why you start getting this problem, As per recent update now its mandatory to use key with the JS api, if your api not having key then it shows that default error with 25000 limitation.
To get the Google Dev API, follow following steps:
Just go to Google API Console and login with your google credential,
Create a project and then create an API key from that Project
Enable Google MAP to use that key in the Project.
that's it, you get your basic Dev account, which having 25000 map loads limit per day, if your application require more loads, then use different account keys (Economical solution but not recommended) or just go for a premium purchase[Recommended]
More info on get API: http://thegrue.org/google-map-javascript-api-key/