logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Geo::GoogleEarth::Pluggable::Contrib::Point - Geo::GoogleEarth::Pluggable Point Object

Author

         Michael R. Davis (mrdvt92)
         CPAN ID: MRDVT

Bugs

       Please log on RT and send to the geo-perl email list.

Constructor

new
         my $placemark=$document->Point(
                     name       => "White House",
                     lat        => 38.89769,       #signed decimal degrees WGS-84
                     lon        => -77.036549,     #signed decimal degrees WGS-84
                     alt        => 30,             #meters above ellipsoid WGS-84
                   );

Description

       Geo::GoogleEarth::Pluggable::Contrib::Point is a Geo::GoogleEarth::Pluggable::Placemark with a few other
       methods.

Methods

subnodelat
       Sets or returns latitude. The format is signed decimal degrees WGS-84.

         my $lat=$placemark->lat;

   lon
       Sets or returns longitude. The format is signed decimal degrees WGS-84.

         my $lon=$placemark->lon;

   alt
       Sets or returns altitude. The units are meters above the ellipsoid WGS-84.

         my $alt=$placemark->alt;

       Typically, Google Earth "snaps" Placemarks to the surface regardless of how the altitude is set.

Name

       Geo::GoogleEarth::Pluggable::Contrib::Point - Geo::GoogleEarth::Pluggable Point Object

See Also

       Geo::GoogleEarth::Pluggable, XML::LibXML::LazyBuilder, Geo::GoogleEarth::Pluggable::Placemark

perl v5.32.1                                       2021-11-28              Geo::GoogleEar...:Contrib::Point(3pm)

Support

       DavisNetworks.com supports all Perl applications including this package.

Synopsis

         use Geo::GoogleEarth::Pluggable;
         my $document=Geo::GoogleEarth::Pluggable->new();
         $document->Point();

Usage

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

See Also