od wczoraj przestało mi działać na stronie wyświetlanie mapy Google

Cytat
TypeError: google.maps.LatLng is not a constructor - mapa.htm:8
TypeError: google.maps.Map is not a constructor - mapa.htm:19
błąd w linii 8
var pozycja = new google.maps.LatLng(49.75508, 19.11067);
błąd w linii 19
mapa = new google.maps.Map(document.getElementById("mapa"), opcje);
źródło strony:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="pl-PL" lang="pl-PL"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> //<![CDATA[
var pozycja = new google.maps.LatLng(49.75508, 19.11067);
var opcje = {zoom: 14, center: pozycja, mapTypeId: google.maps.MapTypeId.ROADMAP}
var marker = new google.maps.Marker({position: pozycja, draggable: true});
var dymek = new google.maps.InfoWindow();
var mapa;
function abc() {
mapa = new google.maps.Map(document.getElementById("mapa"), opcje);
google.maps.event.addListener(mapa, 'click', function(event) {
if(event.latLng) {
dymek.setContent('pozycja');
dymek.setPosition(event.latLng);
dymek.open(mapa);
}
document.getElementById('_lng').value = event.latLng.lng();
document.getElementById('_lat').value = event.latLng.lat();
});
google.maps.event.addListener(marker, 'dragend', function(mark) {
document.getElementById('_lng').value = mark.latLng.lng();
document.getElementById('_lat').value = mark.latLng.lat();
});
mapa.setCenter(marker.position);
marker.setMap(mapa);
}
//]]>
niczego nie zmianiałem od miesięcy - domyślam się, że Google zmieniło coś w API. Pomoże ktoś dojść do rozwiązania problemu?
edit: problem jak się okazało był na ruterze - zablokowana strona gstatic.com
Ten post edytował rybosom 30.04.2014, 09:39:28