diff options
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r-- | tools/mmd/MmdWidgets.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index 6c589ca..bb355bd 100644 --- a/tools/mmd/MmdWidgets.py +++ b/tools/mmd/MmdWidgets.py @@ -257,7 +257,8 @@ def osmWidget (satellite, user): lineLayer.addFeatures ([lineFeature]); // center the map - map.setCenter (sat_position, 2); + map.setCenter (sat_position, 1); + map.zoomToMaxExtent (); </script> '''.format (longitude, latitude, user_location.longitude, user_location.latitude, java) |