sgairo

I am having a similar problem with the […]

sgairo
7 years ago
Hi there,

I am having a similar problem with the google maps plugin. I am getting the error :

common.js:48 Uncaught TypeError: Cannot read property 'prototype' of undefined(…)(anonymous function) @ common.js:48_.Va @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:34a @ common.js:48Dm @ common.js:48(anonymous function) @ common.js:50(anonymous function) @ common.js:202c @ common.js:44(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Flocalhost%3A8888%2Fwedding%2Fmatrimony%2F&4sAIzaS…:1
util.js:211 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-requiredZA.j @ util.js:211(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:127(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:46(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:43(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:46_.F @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:45(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:46_.v @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:31mc @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:46(anonymous function) @ js?key=AIzaSyB2SQQoCKfPmNUU6o5TD1XHxNscywy0lsM&sensor=true:127

I have created the API key and added this line to the code:
<script src="https://maps.googleapis.com/maps/api/js?key= YOUR_API_KEY &sensor=true"
type="text/javascript"></script>

I followed the instructions and noticed that the map will initially load with the proper coordinates but then will break and show an error about 3 seconds in.