Gmaps.js – google map not loading

If gmaps.js is failing to load google map in your application and you are getting any of below errors:


Uncaught TypeError: Cannot read property ‘prototype’ of undefined gmaps.js

TypeError: undefined is not an object (evaluating ‘d.prototype’)

common.js:48 Uncaught TypeError: Cannot read property ‘prototype’ of undefined)

You can resolve the issue by including Google Maps API key in your API call.

1. Create an API key for your project at:

2. Include your API key by replacing this line:

<script type="text/javascript" src=""></script>


<script type="text/javascript" src=" Key from Google"></script>

About Matthias 33 Articles
I am a Software Engineer from Houston, TX who love to write codes that brings great ideas to live. In my professional life, I have created software for different industries including Oil & Gas, Finance, Service Provider, Cloud Computing and Embedded Systems. When not writting codes, i enjoy travelling, good music and photography. You can reach me at

Be the first to comment

Leave a Reply

Your email address will not be published.