From a23d23e85f3329315a1a4c4cf121735d8207325a Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 14:48:23 +0100 Subject: Update src/web/index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Love the cityCarousel. Added Copenhagen. :) --- src/web/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 47747344e..509a114c6 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -822,13 +822,14 @@ Ext.onReady(function() { {lat: 59.95, lng: 30.3}, // Saint Petersburg {lat: 40.664167, lng: -73.938611}, // New York {lat: -36.840417, lng: 174.739869}, // Auckland - {lat: 48.8567, lng: 2.3508}, // Paris + {lat: 48.8567, lng: 2.3508}, // Paris, France {lat: 10.65, lng: -71.633333}, // Maracaibo {lat: 35.689506, lng: 139.6917}, // Tokyo {lat: 1.3, lng: 103.8}, // Singapore {lat: 22.278333, lng: 114.158889}, // Hong Kong {lat: 10.246944, lng: -67.596111}, // Maracay - {lat: 51.507222, lng: -0.1275} // London + {lat: 51.507222, lng: -0.1275} // London, UK + {lat: 55.68, lng: 12.55} // Copenhagen, Denmark ]; var map = Ext.create('Ext.ux.GMapPanel', { -- cgit v1.2.3 From bcfa17dd7297822cd5dbe7755fc555e86eb968b1 Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:22:48 +0100 Subject: Update src/web/index.html forgot a comma --- src/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 509a114c6..da84fb90a 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -828,7 +828,7 @@ Ext.onReady(function() { {lat: 1.3, lng: 103.8}, // Singapore {lat: 22.278333, lng: 114.158889}, // Hong Kong {lat: 10.246944, lng: -67.596111}, // Maracay - {lat: 51.507222, lng: -0.1275} // London, UK + {lat: 51.507222, lng: -0.1275}, // London, UK {lat: 55.68, lng: 12.55} // Copenhagen, Denmark ]; -- cgit v1.2.3 From e893c5e638cb2912462921636b5f76f8cd97febc Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:26:56 +0100 Subject: Update src/web/index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and a little precision  --- src/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index da84fb90a..956ea37df 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -829,7 +829,7 @@ Ext.onReady(function() { {lat: 22.278333, lng: 114.158889}, // Hong Kong {lat: 10.246944, lng: -67.596111}, // Maracay {lat: 51.507222, lng: -0.1275}, // London, UK - {lat: 55.68, lng: 12.55} // Copenhagen, Denmark + {lat: 55.681200, lng: 12.486777} // Copenhagen, Denmark ]; var map = Ext.create('Ext.ux.GMapPanel', { -- cgit v1.2.3 From 26131f50dda91a9c13586007a70044bec0ee3a00 Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:32:14 +0100 Subject: Update src/web/index.html testing zoomlevels --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 956ea37df..1a0d89c00 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 3. */ - zoomLevel: 3, + zoomLevel: 13, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -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: 9 + zoomLevel: 10 }); var devicesPanel = Ext.create('Ext.grid.Panel', { -- cgit v1.2.3 From 7e5321cab4935713a6df96aa98fa33070cff3ffa Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:35:20 +0100 Subject: Update src/web/index.html is this it? --- src/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 1a0d89c00..44c66c24f 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -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: this.zoomLevel}); + this.getMap().setLocationAndPOV(new google.maps.LatLng(this.setCenter.lat,this.setCenter.lng), {yaw: this.yaw, pitch: this.pitch, zoom: zoomLevel}); } } }, 200,this); // Ext.defer -- cgit v1.2.3 From a4e0370735eb48aaa7ab182ffc03aaf91e8be188 Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:40:50 +0100 Subject: Update src/web/index.html --- src/web/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/web/index.html') 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 3. */ - 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() { - + \ No newline at end of file -- cgit v1.2.3 From d5bcdc4a10af35896008a932343c76abb0a30bb5 Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:42:35 +0100 Subject: Update src/web/index.html trying out zoomlevel 13. --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index af157aed3..1d1865487 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 3. */ - zoomLevel: 3, + zoomLevel: 13, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -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: 9 + zoomLevel: 13 }); var devicesPanel = Ext.create('Ext.grid.Panel', { -- cgit v1.2.3 From a0dc0a95a4fe93631c228b32ad6d3b1f55994858 Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:47:22 +0100 Subject: Update src/web/index.html trying zoomlevel 8 --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 1d1865487..a19b16058 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 3. */ - zoomLevel: 13, + zoomLevel: 8, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -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: 13 + zoomLevel: 8 }); var devicesPanel = Ext.create('Ext.grid.Panel', { -- cgit v1.2.3 From c3427076406072d55d52d4818d757713a5db20fc Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:48:47 +0100 Subject: Update src/web/index.html trying zoomlevel 12 --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index a19b16058..6a613534a 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 3. */ - zoomLevel: 8, + zoomLevel: 12, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -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: 8 + zoomLevel: 12 }); var devicesPanel = Ext.create('Ext.grid.Panel', { -- cgit v1.2.3 From c83ce58ad6f50d24e4ee6f8e55ca405bbd63e62e Mon Sep 17 00:00:00 2001 From: DocNielsen Date: Fri, 2 Nov 2012 16:59:11 +0100 Subject: Update src/web/index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Initial zoomlooks best 10 or 11. I've set it at 11.  I need to dig into the code, to make it set zoomlevel 14 when you click on a position. --- src/web/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/index.html') diff --git a/src/web/index.html b/src/web/index.html index 6a613534a..8b1de2e98 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 3. */ - zoomLevel: 12, + zoomLevel: 14, /** * @cfg {Number} yaw * The Yaw, or rotational direction of the users perspective in degrees. Only applies to panoramas. @@ -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: 12 + zoomLevel: 11 }); var devicesPanel = Ext.create('Ext.grid.Panel', { -- cgit v1.2.3