maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH 1/2] Fix the slippy map display bug.


From: Maxime Petazzoni
Subject: [Maposmatic-dev] [PATCH 1/2] Fix the slippy map display bug.
Date: Wed, 9 Sep 2009 13:31:18 +0200

---
 www/media/osm_map.js |    2 --
 www/media/style.css  |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/www/media/osm_map.js b/www/media/osm_map.js
index b31fd98..3bf116c 100644
--- a/www/media/osm_map.js
+++ b/www/media/osm_map.js
@@ -70,7 +70,6 @@ function init()
         maxExtent: new 
OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
         numZoomLevels: 18,
         maxResolution: 156543.0399,
-        units: 'm',
         projection: epsg_projection,
         displayProjection: epsg_display_projection
     } );
@@ -81,6 +80,5 @@ function init()
     map.events.register('zoomend', map, updateForm);
     map.events.register('moveend', map, updateForm);
     updateMap();
-    map.zoomTo(5);
 }
 
diff --git a/www/media/style.css b/www/media/style.css
index f786db0..0140690 100644
--- a/www/media/style.css
+++ b/www/media/style.css
@@ -173,8 +173,6 @@ table#mapform td
   padding: 3px;
 }
 
-tr.byadmin, tr.bybbox { display: none; vertical-align: top; }
-
 table#mapform tr.label
 {
   font-weight: bold;
-- 
1.6.3.3.210.g29cb3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]