[libchamplain] Use a SelectionLayer for the markers
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [libchamplain] Use a SelectionLayer for the markers
- Date: Tue, 28 Jul 2009 21:40:54 +0000 (UTC)
commit b9bca02570d13cc5b09b377152569a54adecea7d
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Sat Jul 11 11:08:40 2009 +0200
Use a SelectionLayer for the markers
bindings/perl/Champlain/examples/launcher.pl | 4 ++--
1 files 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]