Image::Maps::Plot::FromLatLong

Image::Maps::Plot::FromLatLong are plots points on Mercator Projection world/regional map.
Download

Image::Maps::Plot::FromLatLong Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lee Goddard
  • Publisher web site:
  • http://search.cpan.org/~lgoddard/Image-Maps-Plot-FromLatLong-0.12/FromLatLong.pm

Image::Maps::Plot::FromLatLong Tags


Image::Maps::Plot::FromLatLong Description

Image::Maps::Plot::FromLatLong are plots points on Mercator Projection world/regional map. Image::Maps::Plot::FromLatLong are plots points on Mercator Projection world/regional map.SYNOPSIS use Image::Maps::Plot::FromLatLong; # Get ready $m = new Image::Maps::Plot::FromLatLong ( MAP=>"THE WORLD", PATH=>"C:/out.html", # Extension is irrelevant FONT=>"C:/winnt/fonts/arial.ttf", ); # Now, Create an HTML page with images: $m->create_html; # Or just the image $m->create_imagefile; # Or get a reference to an image blob: $m->get_blob; # Create HTML pages of all maps in the db, with index my $m = new Image::Maps::Plot::FromLatLong( FONT=>'c:/winnt/fonts/arial.ttf', ); $m->all("C:/"); # Add a map $Image::Maps::Plot::FromLatLong::MAPS{"LONDON AREA"} = { FILE => 'C:PhotoWebServerPerlsitelibImageMapsPlotlondon_bourghs.jpg', DIM => , SPOTSIZE => 5, ANCHOR_PIXELS => , # Greenwich on the pixel map ANCHOR_LATLON => , # Greenwich lat/lon ANCHOR_NAME => 'Greenwich', ANCHOR_PLACE => 'Observatory', ONEMILE => 19.5, # 1 km = .6 miles (10km=180px = 10miles=108px) }; # Add a user to the db $m->load_db (".earth.dat"); $m->add_entry ('Ike Elben Goddard','Hungary','H-1165'); $m->save_db (".aliyah.dat"); # Create map content on the fly: $maker = new Image::Maps::Plot::FromLatLong( MAP => "THE WORLD", FONT=>'c:/winnt/fonts/arial.ttf', PATH => "/Two.foo", DBFILE => undef, LOCATIONS => { 'Lee' => { 'LAT' => '51.592423', 'PLACE' => '#ffff44', 'LON' => '-0.171996' }, 'Lee Again' => { 'PLACE' => '#ffff77', 'LAT' => 46, 'LON' => 16 }, }, ); __END__ Requirements: · Perl · Data::Dumper · File::Basename · strict · warnings · WWW::MapBlast 0.02 · Image::Thumbnail 0.011


Image::Maps::Plot::FromLatLong Related Software