aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheather <unknown>2011-05-20 11:34:23 -0400
committerheather <unknown>2011-05-20 11:34:23 -0400
commit2d6bc8dc37e2246f077a05391e51b26f6ce76ea3 (patch)
tree683e95dc1fe6940a8cdaeb112db490d5911aac4e
parentf6107cca2a0024ea45322b68514df1d3a6ee20bb (diff)
downloadd2-2d6bc8dc37e2246f077a05391e51b26f6ce76ea3.tar.bz2
d2-2d6bc8dc37e2246f077a05391e51b26f6ce76ea3.tar.xz
d2-2d6bc8dc37e2246f077a05391e51b26f6ce76ea3.zip
adjusting the scales
-rw-r--r--templates/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html
index 43bd556..89a1e9d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,8 +31,8 @@
31 function init() 31 function init()
32 { 32 {
33 var ext = new OpenLayers.Bounds(0, 0, map_width, map_height); 33 var ext = new OpenLayers.Bounds(0, 0, map_width, map_height);
34 var size = new OpenLayers.Size(map_width, map_height); 34 //var size = new OpenLayers.Size(map_width, map_height);
35 //var size = new OpenLayers.Size(map_width/4, map_height/4); 35 var size = new OpenLayers.Size(map_width/4, map_height/4);
36 36
37 options = {numZoomLevels: 6, 37 options = {numZoomLevels: 6,
38 units: 'pixels', 38 units: 'pixels',
@@ -92,16 +92,16 @@
92 //Note: origin is set at the bottom left corner for OpenLayers !!! 92 //Note: origin is set at the bottom left corner for OpenLayers !!!
93 function setCenter() 93 function setCenter()
94 { 94 {
95 /*
95 map.setCenter(new OpenLayers.LonLat(center_point_x, 96 map.setCenter(new OpenLayers.LonLat(center_point_x,
96 center_point_y), 97 center_point_y),
97 0, true, true); 98 0, true, true);
99 */
98 100
99 //map.setCenter(new OpenLayers.LonLat(280, 683), 0, true, true) ; 101 //map.setCenter(new OpenLayers.LonLat(280, 683), 0, true, true) ;
100 /*
101 map.setCenter(new OpenLayers.LonLat(center_point_x, 102 map.setCenter(new OpenLayers.LonLat(center_point_x,
102 center_point_y), 103 center_point_y),
103 2, true, true); 104 2, true, true);
104 */
105 } 105 }
106 </script> 106 </script>
107{% end %} 107{% end %}