QML-UI: add hacky, useless way to show the GPS location of a dive

This is of course stupid and NOT what we want to do, but one could argue it's
better than nothing (well, not sure, whatever). If we have a GPS location
associated with a dive and you tap on the location name when showing the dive
details, it opens a static image of a satellite map with a marker for the dive
site.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-26 13:22:50 -08:00
parent 7ffe7a8c8a
commit bf239e7c42
5 changed files with 35 additions and 0 deletions

View file

@ -28,6 +28,7 @@ MobileComponents.Page {
diveListView.currentIndex = model.index
detailsWindow.width = parent.width
detailsWindow.location = location
detailsWindow.gps = gps
detailsWindow.dive_id = id
detailsWindow.diveNumber = diveNumber
detailsWindow.duration = duration