<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
- <title>World Volcanoes</title>
+ <title>Where are our books comming from?</title>
<script type="text/javascript">
//<![CDATA[
// Load the map...
function initialize() {
- var myLatlng = new google.maps.LatLng(35,-95);
+ var myLatlng = new google.maps.LatLng(45,15);
// Create the volcano tile layer...
if (x < 0) {
x += n;
}
- return "tiles/tileserver.pl?Z=" + zoom + "&X=" + x + "&Y=" + tile.y ;
+ return "koha/tiles/" + zoom + "/v_" + x + "_" + tile.y + ".png";
},
tileSize: new google.maps.Size(256, 256),
opacity:1,
// Map options...
var myOptions = {
- zoom: 4,
+ zoom: 6,
scrollwheel: false,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.TERRAIN
mapdiv.style.width = '100%';
mapdiv.style.height = '100%';
} else {
- mapdiv.style.width = '1024px';
- mapdiv.style.height = '768px';
+/*
+ mapdiv.style.width = '800px';
+ mapdiv.style.height = '600px';
+*/
+ mapdiv.style.width = '100%';
+ mapdiv.style.height = '100%';
}
}
{
var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest;
var parms = "POINT=" + point.toUrlValue() + "&ZOOM=" + map.getZoom() ;
- request.open("POST", "volcano.pl", true);
+ request.open("POST", "koha.pl", true);
request.setRequestHeader('Content-Type','application/x-www-form-urlencoded') ; // Thanks to Darkstar 3D!
request.onreadystatechange = function()
{