Geography : synchronize gramps and osm-gps-map for the free maps.

svn: r21319
This commit is contained in:
Serge Noiraud 2013-02-08 07:39:59 +00:00
parent 0465b9cf37
commit 4068bebb3e

View File

@ -162,7 +162,9 @@ class GeoGraphyView(OsmGps, NavigationView):
self.geo_altmap = cairo.ImageSurface.create_from_png(pathu)
if ( config.get('geography.map_service') in
( constants.OPENSTREETMAP,
constants.OPENSTREETMAP_RENDERER
constants.MAPS_FOR_FREE,
constants.OPENCYCLEMAP,
constants.OSM_PUBLIC_TRANSPORT,
)):
default_image = self.geo_mainmap
else: