Geo::GoogleEarth::Pluggable::Placemark(3pm) | User Contributed Perl Documentation | Geo::GoogleEarth::Pluggable::Placemark(3pm) |
Geo::GoogleEarth::Pluggable::Placemark - Base Object for Geo::GoogleEarth::Pluggable Placemarks
use base qw{Geo::GoogleEarth::Pluggable::Placemark};
The is the base of all Geo::GoogleEarth::Pluggable packages.
Sets or returns the Placemark Style or StyleMap object.
style=>$style is a short cut for styleUrl=>$style->url
This overrides style->url if defined.
Sets or returns the LookAt Object
Sets or returns visibility. The value is either 1 or 0 but defaults to undef which the same as 1.
my $visibility=$placemark->visibility;
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 );
my $string=$placemark->point_stringify($point); #returns "$lon,$lat,$alt"
Most of this code was taken from GPS::Point->initializeMulti
my $data=$placemark->point_normalize($point); #returns {lat=>$lat,lon=>$lon,alt=>$alt}
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, Scalar::Util, XML::LibXML::LazyBuilder
2021-11-28 | perl v5.32.1 |