gMaps suddenly stopped working : Can't find variable: G_NORMAL_MAP
- by Luca
hello!
i inject a map on my div called "concessionario-map" with GMap, a jquery plugin.
Gmap
everything works fine until this morning.
now the debugger says:
ReferenceError: Can't find variable: G_NORMAL_MAP
i just search on google and i read some similar situation, but i dont find a case like mine.
please, can you help me?
thanks a lot in advance :)
(full code)
$.getJSON("http://maps.google.com/maps/geo?q="+loc+"&key=ABQIAAAAgDXoBEgIn38xaRBBqo6ygxTDjF32IQ1zA0BVcGSuGouGRvo0kRRKiyipbCniJWSso2scatdz36K-Mg&sensor=false&output=json&callback=?",function(data, textStatus)
{
long = data.Placemark[0].Point.coordinates[0];
lat = data.Placemark[0].Point.coordinates[1];
console.log(data);
$('#concessionario-map').gMap(
{
scrollwheel: false,
latitude: lat,
longitude: long,
zoom: 15,
markers:
[{
latitude: lat,
longitude: long
}],
icon:
{
image: "files/images/gmap_pin_orange.png",
shadow: "files/images/gmap_pin_orange_shadow.png",
iconsize: [26, 46],
shadowsize: [28, 48],
iconanchor: [12,46],
infowindowanchor: [12, 0]
}
})
});