[Solved] Google Maps API error: MissingKeyMapError - ASPMANTRA | Asp.Net,MVC,AngularJs,Jquery,Javascript,Sql Server AND WCF snippets and tutorial

[Solved] Google Maps API error: MissingKeyMapError

In this article I am going to explain how to solve the Google Maps API MissingKeyMapError.

I am working on Google Maps and notice an error in JavaScript Console:

Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error


The reason of error is now Google requires API key from 22 June 2016. In order to  resolve the error you have to generate API key.

Please read the article to resolve the error : GenerateGoogle Maps geocoding API key

After generate the key, enter the API key as example given below:

<script src="https://maps.googleapis.com/maps/api/js?key=Enter API KEY&js?v=3.23&callback=initMap" type="text/javascript"></script>

What do you think about this article?

If you found this article useful, please share and follow on Facebook, Twitter, Google Plus and other social media websites. To get free updates subscribe to newsletter. Please put your thoughts and feedback in comments section.