.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Geo::GoogleEarth::Pluggable::Plugin::Default 3pm" .TH Geo::GoogleEarth::Pluggable::Plugin::Default 3pm "2021-11-28" "perl v5.32.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Geo::GoogleEarth::Pluggable::Plugin::Default \- Geo::GoogleEarth::Pluggable Default Plugin Methods .SH "METHODS" .IX Header "METHODS" Methods in this package are AUTOLOADed into the Geo::GoogleEarth::Pluggable::Folder namespace at runtime. .SH "CONVENTIONS" .IX Header "CONVENTIONS" Plugin Naming Convention: Geo::GoogleEarth::Pluggable::Plugin::CPANID (e.g. \*(L"\s-1MRDVT\*(R"\s0) Object Naming Convention: Geo::GoogleEarth::Pluggable::Contrib::\*(L"$method\*(R" (e.g. Point, CircleByCenterPoint) .PP You only need to have one plugin pointing to all of your contributed objects. .PP 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) .SS "Point" .IX Subsection "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. .PP .Vb 4 \& my $point=$folder\->Point(name=>"My Placemark", \& lat=>38.897607, \& lon=>\-77.036554, \& alt=>0); .Ve .SS "Polygon" .IX Subsection "Polygon" .Vb 10 \& $folder\->Polygon( \& name => "My Polygon", \& coordinates => [ \& [ #outerBoundaryIs \& [ \-95.74356, 29.61974 ], \& [ \-95.74868, 29.62188 ], \& [ \-95.74857, 29.62210 ], \& [ \-95.74256, 29.62266 ], \& [ \-95.74356, 29.61974 ], \& ], \& \e@innerBoundaryIs1, \& \e@innerBoundaryIs2, \& \e@innerBoundaryIs3, \& ], \& style => $style, \& open => 1, \& description => $html, \& ), .Ve .SS "MultiPolygon" .IX Subsection "MultiPolygon" .Vb 10 \& $folder\->MultiPolygon( \& name => "My MultiPolygon", \& coordinates => [ #MultiGeometry \& [ #Polygon1 \& [ \& [ \-95.45662, 29.77814 ], \& [ \-95.45668, 29.77809 ], \& [ \-95.45675, 29.77814 ], \& [ \-95.45669, 29.77820 ], \& [ \-95.45662, 29.77814 ], \& ], \& \e@innerBoundaryIs1, \& ], \& [ #Polygon2 \& [ \& [ \-95.45677, 29.77785 ], \& [ \-95.45683, 29.77780 ], \& [ \-95.45689, 29.77785 ], \& [ \-95.45683, 29.77791 ], \& [ \-95.45677, 29.77785 ], \& ], \& ], \& ], \& ); .Ve .SS "LineString" .IX Subsection "LineString" .Vb 5 \& $folder\->LineString(name=>"My Placemark", \& coordinates=>[ \& [lat,lon,alt], \& {lat=>$lat,lon=>$lon,alt=>$alt}, \& ]); .Ve .SS "LinearRing" .IX Subsection "LinearRing" .Vb 5 \& $folder\->LinearRing(name=>"My Placemark", \& coordinates=>[ \& [lat,lon,alt], \& {lat=>$lat,lon=>$lon,alt=>$alt}, \& ]); .Ve .SH "TODO" .IX Header "TODO" Need to determine what methods should be in the Folder package and what should be on the Plugin/Default package and why. .SH "BUGS" .IX Header "BUGS" Please log on \s-1RT\s0 and send to the geo-perl email list. .SH "SUPPORT" .IX Header "SUPPORT" DavisNetworks.com supports all Perl applications including this package. .SH "AUTHOR" .IX Header "AUTHOR" .Vb 2 \& Michael R. Davis (mrdvt92) \& CPAN ID: MRDVT .Ve .SH "COPYRIGHT" .IX Header "COPYRIGHT" This program is free software licensed under the... .PP .Vb 1 \& The BSD License .Ve .PP The full text of the license can be found in the \s-1LICENSE\s0 file included with this module. .SH "SEE ALSO" .IX Header "SEE ALSO" Geo::GoogleEarth::Pluggable::Contrib::Point, Geo::GoogleEarth::Pluggable::Contrib::LineString, Geo::GoogleEarth::Pluggable::Contrib::LinearRing