diff options
Diffstat (limited to 'tools')
-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> |