Za predvajanje morate imeti omogočen HTML5/CSS3. (pomeni, da imate ZELO zastarel računalnik... "sorry")
google.maps.MapTypeId.TERRAIN
};
map = new google.maps.Map(document.getElementById('mapdiv'), mapOptions);
var ids=pano.getNodeIds();
var marker;
var markerLocation;
var bounds=new google.maps.LatLngBounds();
for(var i=0;i=2) && ((gps[0]!=0)||(gps[1]!=0))) {
markerLocation = new google.maps.LatLng(gps[0], gps[1]);
marker = new google.maps.Marker({position: markerLocation,map: map});
marker.setTitle(pano.getNodeTitle(id));
marker.setAnimation(google.maps.Animation.DROP);
marker.setClickable(true);
marker.ggId=id;
bounds.extend(markerLocation);
google.maps.event.addListener(marker, 'click', function() {
pano.openNext("{" + this.ggId + "}");
activeNodeLatLng=this.position;
lastFov=-1; // force radar update
});
}
}
if (!bounds.isEmpty()) {
map.fitBounds(bounds);
}
setInterval(function() { updateRadar(); }, 50);
}