Google Maps support has been dropped for quite some time now, change
default map type to OSM Mapnik.

Signed-off-by: Sven Wegener <sven.wege...@stealer.net>
---
 src/vikmapslayer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

We have multiple choices for a default maptype, but I think OSM Mapnik is the
most sensible choice.

diff --git a/src/vikmapslayer.c b/src/vikmapslayer.c
index 5e4bbc2..f2453be 100644
--- a/src/vikmapslayer.c
+++ b/src/vikmapslayer.c
@@ -425,7 +425,7 @@ static VikMapsLayer *maps_layer_new ( VikViewport *vvp )
   int idx;
   VikMapsLayer *vml = VIK_MAPS_LAYER ( g_object_new ( VIK_MAPS_LAYER_TYPE, 
NULL ) );
   vik_layer_init ( VIK_LAYER(vml), VIK_LAYER_MAPS );
-  idx = map_uniq_id_to_index(7); /* 7 is id for google maps */
+  idx = map_uniq_id_to_index(13); /* 13 is id for OSM Mapnik maps */
     vml->maptype = (idx < NUM_MAP_TYPES) ? idx : 0;
   vml->alpha = 255;
   vml->mapzoom_id = 0;
-- 
1.6.6


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to