aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorDocNielsen <docnielsen@gmail.com>2012-11-02 16:40:50 +0100
committerDocNielsen <docnielsen@gmail.com>2012-11-02 16:40:50 +0100
commita4e0370735eb48aaa7ab182ffc03aaf91e8be188 (patch)
treee34ab8470cf167caeb5d55fe1caa7c856b8138d8 /src/web
parent7e5321cab4935713a6df96aa98fa33070cff3ffa (diff)
downloadtrackermap-server-a4e0370735eb48aaa7ab182ffc03aaf91e8be188.tar.gz
trackermap-server-a4e0370735eb48aaa7ab182ffc03aaf91e8be188.tar.bz2
trackermap-server-a4e0370735eb48aaa7ab182ffc03aaf91e8be188.zip
Update src/web/index.html
Diffstat (limited to 'src/web')
-rw-r--r--src/web/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web/index.html b/src/web/index.html
index 44c66c24f..af157aed3 100644
--- a/src/web/index.html
+++ b/src/web/index.html
@@ -176,7 +176,7 @@ setCenter: {
* Also used as the zoom level for panoramas, zero specifies no zoom at all.
* Defaults to <tt>3</tt>.
*/
- zoomLevel: 13,
+ zoomLevel: 3,
/**
* @cfg {Number} yaw
* The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas.
@@ -324,7 +324,7 @@ markers: [{
}
}
if (this.gmapType === 'panorama'){
- this.getMap().setLocationAndPOV(new google.maps.LatLng(this.setCenter.lat,this.setCenter.lng), {yaw: this.yaw, pitch: this.pitch, zoom: zoomLevel});
+ this.getMap().setLocationAndPOV(new google.maps.LatLng(this.setCenter.lat,this.setCenter.lng), {yaw: this.yaw, pitch: this.pitch, zoom: this.zoomLevel});
}
}
}, 200,this); // Ext.defer
@@ -835,7 +835,7 @@ Ext.onReady(function() {
var map = Ext.create('Ext.ux.GMapPanel', {
id: 'gmap',
setCenter: cityCarousel[Math.floor((Math.random() * cityCarousel.length))],
- zoomLevel: 10
+ zoomLevel: 9
});
var devicesPanel = Ext.create('Ext.grid.Panel', {
@@ -989,4 +989,4 @@ Ext.onReady(function() {
</script>
</head>
<body></body>
-</html>
+</html> \ No newline at end of file