I’m having a problem with Android to show a map of Google maps.
Give me an error in nsbFunctions.js: “Uncaught ReferenceError: google is not defined. Line 274 column 33”
This is the source code in nsbFunctions.js:
NSB.GoogleMapRefresh = function () {
if (navigator.onLine == false) return;
NSB.initGoogleMaps (this.id);
this.mapOptions.center = new google.maps.LatLng (this.mapOptions.latitude, this.mapOptions.longitude);
return this.map = new google.maps.Map (this, this.mapOptions);
};
Specifically, in this line:
this.mapOptions.center = new google.maps.LatLng (this.mapOptions.latitude, this.mapOptions.longitude);
With iOS works perfectly, but in Android does not work.
Thank you in advance for your help.