KML-PolyMap
view release on metacpan or search on metacpan
lib/Geo/KML/PolyMap.pm view on Meta::CPAN
push(@kml_file,"<kml xmlns=\"http://earth.google.com/kml/2.0\">");
push(@kml_file,"<Document>");
if (defined $legend_file_name) {
push(@kml_file,"<ScreenOverlay>");
push(@kml_file,"<description>$placename $datadesc</description>");
push(@kml_file,"<name>Legend</name>");
push(@kml_file,"<Icon>");
push(@kml_file,"<href>$legend_file_name</href>");
push(@kml_file,"</Icon>");
push(@kml_file,"<overlayXY x=\"0\" y=\"1\" xunits=\"fraction\" yunits=\"fraction\"/>");
push(@kml_file,"<screenXY x=\"0\" y=\"1\" xunits=\"fraction\" yunits=\"fraction\"/>");
push(@kml_file,"<rotationXY x=\"0\" y=\"0\" xunits=\"fraction\" yunits=\"fraction\"/>");
push(@kml_file,"<size x=\"0\" y=\"0\" xunits=\"pixels\" yunits=\"pixels\"/>");
push(@kml_file,"<rotation>0</rotation>");
push(@kml_file,"</ScreenOverlay>");
}
print $fh join('',@kml_file);
@kml_file=();
for (my $i=0;$i<(scalar @$bins);$i++) {
( run in 1.002 second using v1.01-cache-2.11-cpan-49f99fa48dc )