/[maps]/t/kml.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /t/kml.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations)
Fri Dec 7 15:53:41 2007 UTC (16 years, 4 months ago) by dpavlin
File MIME type: application/x-troff
File size: 301 byte(s)
exporter for KML placemarks
1 #!/usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 use blib;
7
8 use Test::More tests => 2;
9
10 use_ok('KML');
11
12 my $placemarks = [
13 {
14 point => [ 11, 42 ],
15 html => '<b>foobar</b>',
16 },{
17 point => [ 10,10 ],
18 html => '2',
19 },
20 ];
21
22
23 ok( my $out = KML->output( placemarks => $placemarks ), 'output' );
24 diag $out;

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26