diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-01-15 22:45:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-15 17:41:57 -0800 |
commit | e9953fa5e6985045c599eec6d63572ee7bb458d7 (patch) | |
tree | 03d31f275c479b2663fb5f0ffcf29ceba17ad0c7 /dive.h | |
parent | 3fb80bcaeb5e3d1d5e447ea29e6bcb6ad619647a (diff) | |
download | subsurface-e9953fa5e6985045c599eec6d63572ee7bb458d7.tar.gz |
Show single dives in map.
This adds a "Show in map" entry in the dive list context menu. It will
zoom to the dive location if it exists, otherwise the full map will be
displayed.
I've also switched map tiles from OpenStreetMap to Google Maps just to
show off that we can.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -500,6 +500,7 @@ extern void show_dive_stats(struct dive *); extern void clear_stats_widgets(void); extern void show_gps_locations(void); +extern void show_gps_location(struct dive *); extern void show_yearly_stats(void); |