From b0c52ce5faa59706de4e003f487f4be04f65a3ac Mon Sep 17 00:00:00 2001 From: Jogi Hofmüller Date: Wed, 10 Aug 2011 07:12:43 +0000 Subject: - changed #map to 256x512 - zoom map to maximum extention git-svn-id: https://svn.spreadspace.org/mur.sat@111 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- tools/mmd/MmdWidgets.py | 3 ++- tools/mmd/mmd.css | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tools/mmd') 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 (); '''.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; -- cgit v1.2.3