projects
/
google-map-tiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use Directory instead of Location to allow vhost overlay
[google-map-tiles.git]
/
koha.html
diff --git
a/koha.html
b/koha.html
index
7bbc536
..
6867b16
100644
(file)
--- a/
koha.html
+++ b/
koha.html
@@
-4,7
+4,7
@@
<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"/>
<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>W
orld Volcanoes
</title>
+ <title>W
here are our books comming from?
</title>
<script type="text/javascript">
//<![CDATA[
<script type="text/javascript">
//<![CDATA[
@@
-26,7
+26,7
@@
// Load the map...
function initialize() {
// Load the map...
function initialize() {
- var myLatlng = new google.maps.LatLng(
35,-9
5);
+ var myLatlng = new google.maps.LatLng(
45,1
5);
// Create the volcano tile layer...
// Create the volcano tile layer...
@@
-37,7
+37,7
@@
if (x < 0) {
x += n;
}
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,
},
tileSize: new google.maps.Size(256, 256),
opacity:1,
@@
-51,7
+51,7
@@
// Map options...
var myOptions = {
// Map options...
var myOptions = {
- zoom:
4
,
+ zoom:
6
,
scrollwheel: false,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.TERRAIN
scrollwheel: false,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.TERRAIN
@@
-89,8
+89,12
@@
mapdiv.style.width = '100%';
mapdiv.style.height = '100%';
} else {
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%';
}
}
}
}
@@
-100,7
+104,7
@@
{
var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest;
var parms = "POINT=" + point.toUrlValue() + "&ZOOM=" + map.getZoom() ;
{
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()
{
request.setRequestHeader('Content-Type','application/x-www-form-urlencoded') ; // Thanks to Darkstar 3D!
request.onreadystatechange = function()
{