Geo::GoogleEarth::Pluggable::Placemark(3pm)

Geo::GoogleEarth::Pluggable::Placemark3pm

Base object for geo::googleearth::pluggable placemarks

Usage

  use base qw{Geo::GoogleEarth::Pluggable::Placemark};

Overview

The is the base of all Geo::GoogleEarth::Pluggable packages.

Usage

Methods

type

style

Sets or returns the Placemark Style or StyleMap object.

style=>$style is a short cut for styleUrl=>$style->url

styleUrl

This overrides style->url if defined.

LookAt

Sets or returns the LookAt Object

visibility

Sets or returns visibility. The value is either 1 or 0 but defaults to undef which the same as 1.

  my $visibility=$placemark->visibility;

node

coordinates

The coordinates array is used consistantly for all placemark objects.

  my $coordinates=$placemark->coordinates(
                              [
                                [$lon, $lat, $alt],
                                {lat=>$lat, lon=>$lon, alt=>$alt},
                                GPS::Point,
                                Geo::Point,
                                Net::GPSD::Point,
                              ]
                            );
  my $coordinates=$placemark->coordinates(
                             Geo::Line,          #TODO
                            );

coordinates_stringify

point_stringify

  my $string=$placemark->point_stringify($point); #returns "$lon,$lat,$alt"

point_normalize

Most of this code was taken from GPS::Point->initializeMulti

  my $data=$placemark->point_normalize($point); #returns {lat=>$lat,lon=>$lon,alt=>$alt}

Support

DavisNetworks.com supports all Perl applications including this package.

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8–10
  3. 11
  4. 12–13

Bugs

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

Author

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

From libgeo-googleearth-pluggable-perl 0.17-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.