The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::GoogleEarth::Pluggable::Plugin::Default - Geo::GoogleEarth::Pluggable Default Plugin Methods

METHODS

Methods in this package are AUTOLOADed into the Geo::GoogleEarth::Pluggable::Folder namespace at runtime.

CONVENTIONS

Plugin Naming Convention: Geo::GoogleEarth::Pluggable::Plugin::CPANID (e.g. "MRDVT") Object Naming Convention: Geo::GoogleEarth::Pluggable::Contrib::"$method" (e.g. Point, CircleByCenterPoint)

You should only have one plugin pointing to all of your contributed objects.

The package should be named after the plugin not the objects since there is a many to one relationship. (e.g. Geo-GoogleEarth-Pluggable-Plugin-MRDVT)

Point

Constructs a new Placemark Point object and appends it to the parent folder object. Returns the object reference if you need to make any setting changes after construction.

  my $point=$folder->Point(name=>"My Placemark",
                           lat=>38.897607,
                           lon=>-77.036554,
                           alt=>0);

LineString

  $folder->LineString(name=>"My Placemark",
                      coordinates=>[
                                     [lat,lon,alt],
                                     {lat=>$lat,lon=>$lon,alt=>$alt},
                                   ]);

LinearRing

  $folder->LinearRing(name=>"My Placemark",
                      coordinates=>[
                                     [lat,lon,alt],
                                     [lat,lon,alt],
                                   ]);

TODO

Need to determine what methods should be in the Folder package and what should be on the Plugin/Default package and why.

BUGS

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

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

Geo::GoogleEarth::Pluggable creates a GoogleEarth Document.

Geo::GoogleEarth::Pluggable::Base is the base for Geo::GoogleEarth::Pluggable::* packages.

Geo::GoogleEarth::Pluggable::Folder is a Geo::GoogleEarth::Pluggable folder object.

Geo::GoogleEarth::Pluggable::NetworkLink is a Geo::GoogleEarth::Pluggable NetworkLink object.

Geo::GoogleEarth::Pluggable::Placemark is a Geo::GoogleEarth::Pluggable Placemark object.

Geo::GoogleEarth::Pluggable::Style is a Geo::GoogleEarth::Pluggable Style object.