]> err.no Git - libchamplain/commitdiff
Use an image
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 23 Mar 2009 20:58:55 +0000 (21:58 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 25 Mar 2009 08:06:20 +0000 (10:06 +0200)
bindings/perl/Champlain/examples/launcher.pl

index 55de7c4cedcef6a2d80f6a762cca775515921e6e..501412e02904821751c5a1d6f433de10a9dc6a16 100755 (executable)
@@ -64,7 +64,7 @@ sub create_marker_layer {
        $marker->set_position(40.77, -73.98);
        $layer->add($marker);
 
-       my $file = File::Spec->catfile($FindBin::Bin, 'who.png');
+       my $file = File::Spec->catfile($FindBin::Bin, 'images', 'who.png');
        eval {
                $marker = Champlain::Marker->new_with_image_full($file, 40, 40, 20, 20);
                $marker->set_position(47.130885, -70.764141);