diff options
author | Jogi Hofmüller <jogi@mur.at> | 2011-08-10 07:15:56 +0000 |
---|---|---|
committer | Jogi Hofmüller <jogi@mur.at> | 2011-08-10 07:15:56 +0000 |
commit | ac0c7bbee1cb18be46a420be2ae76fa55966f7ab (patch) | |
tree | c4efd2db89c3176ae20501fe329b7321fcc0fe2b /tools/mmd | |
parent | - changed #map to 256x512 (diff) |
- removed centering of satellite in map
git-svn-id: https://svn.spreadspace.org/mur.sat@112 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd')
-rw-r--r-- | tools/mmd/MmdWidgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index bb355bd..b9d20db 100644 --- a/tools/mmd/MmdWidgets.py +++ b/tools/mmd/MmdWidgets.py @@ -216,7 +216,7 @@ def osmWidget (satellite, user): html = ''' <div id="osm"></div> <script src="http://www.openlayers.org/api/OpenLayers.js"></script> - <script> + <script type="text/javascript"> // satellite and user position var from = new OpenLayers.Projection ("EPSG:4326"); var to = new OpenLayers.Projection ("EPSG:900913"); @@ -257,7 +257,7 @@ def osmWidget (satellite, user): lineLayer.addFeatures ([lineFeature]); // center the map - map.setCenter (sat_position, 1); + // map.setCenter (sat_position, 1); map.zoomToMaxExtent (); </script> |