From: Emmanuel Rodriguez Date: Fri, 18 Sep 2009 08:53:38 +0000 (+0200) Subject: Give the MapView the same size as the stage X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d457c0ea178bde293109bd98212438fcfc36e841;p=libchamplain Give the MapView the same size as the stage --- diff --git a/bindings/perl/Champlain/examples/flickr.pl b/bindings/perl/Champlain/examples/flickr.pl index 983dd3e..29c5b11 100755 --- a/bindings/perl/Champlain/examples/flickr.pl +++ b/bindings/perl/Champlain/examples/flickr.pl @@ -52,7 +52,7 @@ sub main { $map->center_on(47.130885, -70.764141); $map->set_scroll_mode('kinetic'); $map->set_zoom_level(5); - $map->set_size(640, 480); + $map->set_size($stage->get_size); $stage->add($map); # Create the markers and marker layer