From 07ecac19d0af02fa98300dd2142cf209800f9fd8 Mon Sep 17 00:00:00 2001 From: Jogi Hofmüller Date: Thu, 11 Aug 2011 13:05:27 +0000 Subject: - using satellite properties in osmWidget () now git-svn-id: https://svn.spreadspace.org/mur.sat@126 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- tools/mmd/MmdWidgets.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/mmd/MmdWidgets.py') diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index 3570c58..b8f8be9 100644 --- a/tools/mmd/MmdWidgets.py +++ b/tools/mmd/MmdWidgets.py @@ -211,7 +211,6 @@ def osmWidget (session): user_location = session.user.getDefaultLocation () if not user_location: user_location = Location () - timestamp, longitude, latitude = session.satellite.getCurrentSSP () minutes_preview = 180 html = ''' @@ -269,8 +268,8 @@ def osmWidget (session): The map shows the satellite's expected ground track for the next {5} minutes. '''.format ( - longitude, - latitude, + session.satellite.longitude, + session.satellite.latitude, user_location.longitude, user_location.latitude, session.satellite.getTrajectoryAsJavaArray ('curves', minutes_preview), -- cgit v1.2.3