From 76a0995069528f60ad662c4f557f8698af351445 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Tue, 16 Jun 2009 22:27:18 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5