From: Emmanuel Rodriguez Date: Tue, 16 Jun 2009 20:27:18 +0000 (+0200) Subject: Use the zoom-level 8 by default. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a0995069528f60ad662c4f557f8698af351445;p=libchamplain 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. --- 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);