summaryrefslogtreecommitdiff
path: root/tools/mmd
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mmd')
-rw-r--r--tools/mmd/MmdWidgets.py3
-rw-r--r--tools/mmd/mmd.css4
2 files changed, 4 insertions, 3 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)
diff --git a/tools/mmd/mmd.css b/tools/mmd/mmd.css
index 7224b8c..71891e6 100644
--- a/tools/mmd/mmd.css
+++ b/tools/mmd/mmd.css
@@ -32,8 +32,8 @@ html, body
#osm
{
- width: 640px;
- height: 480px;
+ width: 512px;
+ height: 256px;
margin: 0;
padding: 0;
border: 0;