Google Maps error in Android

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.

Are there any messages on the Chrome Debugger Console?

Error encountered:
Uncaught ReferenceError: google is not defined
Url: file:///android_asset/www/nsb/nsbFunctions.js
Line: 274
Column: 33

Is that the only message?

I’ve try it again and yes, is that the only message.

Ok, I’ve found the solution.

In the config.xml I had this: <access origin=“https://www.ceesa.com” to define the white list for access to a php file with ajax.

Then I try with <access origin=“googleapis.com” subdomains=“true” and don’t work.

Finally I try with <access origin=“*” and now work again.

(I need to omit the “slag”> at the final of the examples because is not showed in the web)