summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-10 07:44:31 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-10 07:44:31 +0000
commit7c238129db9e8aece079e1223ac70bd265513b75 (patch)
treed9b928d427d0a307c22a94dfec59dfd1febdb69c /tools/mmd/MmdWidgets.py
parent- changed rcol to width 512px (diff)
- set map zoom to 1 manually
git-svn-id: https://svn.spreadspace.org/mur.sat@114 7de4ea59-55d0-425e-a1af-a3118ea81d4c
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)