summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-11 13:05:27 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-11 13:05:27 +0000
commit07ecac19d0af02fa98300dd2142cf209800f9fd8 (patch)
tree9b8dfb873a180f9eeb6e78f3bbc0bba92ed80796 /tools/mmd/MmdWidgets.py
parent- found more todos (diff)
- using satellite properties in osmWidget () now
git-svn-id: https://svn.spreadspace.org/mur.sat@126 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py5
1 files changed, 2 insertions, 3 deletions
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.
</div>
'''.format (
- longitude,
- latitude,
+ session.satellite.longitude,
+ session.satellite.latitude,
user_location.longitude,
user_location.latitude,
session.satellite.getTrajectoryAsJavaArray ('curves', minutes_preview),