From b9bca02570d13cc5b09b377152569a54adecea7d Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Sat, 11 Jul 2009 11:08:40 +0200 Subject: [PATCH] Use a SelectionLayer for the markers --- bindings/perl/Champlain/examples/launcher.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/perl/Champlain/examples/launcher.pl b/bindings/perl/Champlain/examples/launcher.pl index c1b9b6e..693391e 100755 --- a/bindings/perl/Champlain/examples/launcher.pl +++ b/bindings/perl/Champlain/examples/launcher.pl @@ -50,7 +50,7 @@ sub main { $map->add_layer($layer); # Finish initializing the map view - $map->set_property("zoom-level", 7); + $map->set_property("zoom-level", 5); $map->center_on(45.466, -73.75); # Middle click to get the location in the map @@ -98,7 +98,7 @@ sub make_button { sub create_marker_layer { my ($map) = @_; - my $layer = Champlain::Layer->new(); + my $layer = Champlain::SelectionLayer->new(); my $orange = Clutter::Color->new(0xf3, 0x94, 0x07, 0xbb); my $white = Clutter::Color->new(0xff, 0xff, 0xff, 0xff); -- 2.39.5