summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index b9d20db..6884d78 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -258,7 +258,8 @@ def osmWidget (satellite, user):
// center the map
// map.setCenter (sat_position, 1);
- map.zoomToMaxExtent ();
+ // map.zoomToMaxExtent ();
+ map.zoomTo (1);
</script>
'''.format (longitude, latitude, user_location.longitude, user_location.latitude, java)