summaryrefslogtreecommitdiff
path: root/tools/mmd
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-10 07:12:43 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-10 07:12:43 +0000
commitb0c52ce5faa59706de4e003f487f4be04f65a3ac (patch)
treee5b32f938dacabd1ece0d168cf93ac8ae5d3fbe2 /tools/mmd
parent- added comment on howto fix the eas/west connecting line to computeTrajectory (diff)
- changed #map to 256x512
- zoom map to maximum extention git-svn-id: https://svn.spreadspace.org/mur.sat@111 7de4ea59-55d0-425e-a1af-a3118ea81d4c
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;