Parent Directory | Revision Log
exporter for KML placemarks
1 | dpavlin | 30 | #!/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; |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |