2 gün önce, google haritalar içeren bir proje üzerinde çalışıyordu. Web sitesi sadece iyi sayfalarda haritalar gösterdi.
Now, I come back to my workstation, nothing has changed, expect for the fact that the google maps won't show up anymore. The code is identical, nobody has touched my machine since I was gone, I've checked the html, everything is perfect and still this isn't working... The Javascript console is giving no errors and the code is identical to a backup I make everytime I call it a day. 2 days ago it was working, today it isn't.
Ben bile kaynak kodunu kopyaladıktan, aynı sonucu bir html dosyası içine koymak ve o çalıştı, ama. Ben burada bir kaybı var. Bu benim kodudur:
<script type="text/javascript">
//<![CDATA[
var map;
var directionsPanel;
var directions;
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GScaleControl());
map.addControl(new GMapTypeControl());
//the route description
directionsPanel = document.getElementById("route");
directions = new GDirections(map, directionsPanel);
directions.load({COMMAND});
}
}
//]]>
</script>
{COMMAND} PHP şablonu ayrıştırmak olacak bir şeydir, ben biçim% 100 doğru olduğunu, bunu kontrol ettik ve benzeri Allready kod artık yedekleme aynıdır, ve sonra tekrar çalıştı, şimdi çalışması gerektiğini söyledi .
Google gecede kendi API güncellemek ve ben önerilmiyor haline burada kullanmak bir işlevi did? Burada neler oluyor bilmiyorum ...