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>
This commit is contained in:
Henrik Brautaset Aronsen 2013-01-15 22:45:18 +01:00 committed by Dirk Hohndel
parent 3fb80bcaeb
commit e9953fa5e6
4 changed files with 71 additions and 14 deletions

1
dive.h
View file

@ -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);