Hi,
I have found this code, which is not exactly correct:
/wp-content/plugins/wp-google-maps/js/wpgmaps.js
MYMAP.init = function(selector, latLng, zoom) {
var maptype = null;
if(window.google)
{
if (typeof wpgmaps_localize[wpgmaps_mapid].type !== "undefined") {
if (wpgmaps_localize[wpgmaps_mapid].type === "1") { maptype = google.maps.MapTypeId.ROADMAP; }
else if (wpgmaps_localize[wpgmaps_mapid].type === "2") { maptype = google.maps.MapTypeId.SATELLITE; }
else if (wpgmaps_localize[wpgmaps_mapid].type === "3") { maptype = google.maps.MapTypeId.HYBRID; }
else if (wpgmaps_localize[wpgmaps_mapid].type === "4") { maptype = google.maps.MapTypeId.TERRAIN; }
else { maptype = google.maps.MapTypeId.ROADMAP; }
} else {
maptype = google.maps.MapTypeId.ROADMAP;
}
}
...
Instead of just checking for window.google it must also check for window.google.maps. Hope this helps and the plugin developer can correct that.
Thanks! ??