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

svn: r21321
This commit is contained in:
Serge Noiraud 2013-02-08 07:59:31 +00:00
parent 6353e06fa6
commit b98ea511cc

View File

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