]> err.no Git - libchamplain/commitdiff
Use the zoom-level 8 by default.
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 16 Jun 2009 20:27:18 +0000 (22:27 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 23 Jun 2009 16:35:40 +0000 (12:35 -0400)
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

index 7ac7bd08687a5fff86f02560b053fddd47b3c7c1..4b9ee2aa4c97e21a909f16b9f1a3afab12648c3e 100644 (file)
@@ -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);