[libchamplain] Use the zoom-level 8 by default.



commit 76a0995069528f60ad662c4f557f8698af351445
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Tue Jun 16 22:27:18 2009 +0200

    Use the zoom-level 8 by default.
    
    Using a zoom-level higher than 8 places the view in the middle of antartica.
    Until we switch to clutter 1.0, it is better not to force the view to go to a
    higher level.

 demos/polygons.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/polygons.c b/demos/polygons.c
index 7ac7bd0..4b9ee2a 100644
--- a/demos/polygons.c
+++ b/demos/polygons.c
@@ -136,7 +136,7 @@ main (int argc,
   g_object_unref (G_OBJECT (polygon));
 
   /* Finish initialising the map view */
-  g_object_set (G_OBJECT (actor), "zoom-level", 9,
+  g_object_set (G_OBJECT (actor), "zoom-level", 8,
       "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC, NULL);
   champlain_view_center_on (CHAMPLAIN_VIEW (actor), 45.466, -73.75);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]