DOKK / manpages / debian 12 / libgeo-googleearth-pluggable-perl / Geo::GoogleEarth::Pluggable::Contrib::Point.3pm.en
Geo::GoogleEarth::Pluggable::Contrib::Point(3pm) User Contributed Perl Documentation Geo::GoogleEarth::Pluggable::Contrib::Point(3pm)

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

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

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

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

  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
            );

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

  my $lat=$placemark->lat;

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

  my $lon=$placemark->lon;

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.

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

DavisNetworks.com supports all Perl applications including this package.

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

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.

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

2021-11-28 perl v5.32.1