NAME

Geo::GoogleEarth::Document::Placemark - Geo::GoogleEarth::Document::Placemark

SYNOPSIS

use Geo::GoogleEarth::Document;
my $document=Geo::GoogleEarth::Document->new();
$document->Placemark();

DESCRIPTION

Geo::GoogleEarth::Document::Placemark is a Geo::GoogleEarth::Document::Base with a few other methods.

USAGE

my $placemark=$document->Placemark(name=>"Placemark Name",
                                   lat=>$lat,
                                   lon=>$lon,
                                   alt=>$alt);

CONSTRUCTOR

new

my $obj = Geo::GoogleEarth::Document::Placemark->new(
            name       => "White House",
            lat        => 38.89769,       #WGS-84
            lon        => -77.036549,     #WGS-84
            alt        => 30,             #meters above ellipsoid (opt)
          );

my $obj = Geo::GoogleEarth::Document::Placemark->new(
            name       => "White House",
            address    => "1600 Pennsylvania Ave NW, Washington, DC 20006",
          );

METHODS

type

Returns the object type.

structure

Returns a hash reference for feeding directly into XML::Simple.

description

Set or returns the description. Google Earth uses this as the HTML description in the Placemark popup window.

lat

Sets or returns lat

lon

Sets or returns lon

alt

Sets or returns alt

adddress

Sets or returns adddress

BUGS

SUPPORT

Try geo-perl email list.

AUTHOR

Michael R. Davis (mrdvt92)
CPAN ID: MRDVT

COPYRIGHT

This program is free software licensed under the...

The BSD License

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).