Geo::G...:Others(3pm)

πŸ“¦
version 0.17 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

✨ Geo::GoogleEarth::Pluggable::Plugin::Others ✨

okay bestie, welcome to the Others plugin of Geo::GoogleEarth::Pluggable β€” this is the page for the Others Plugin Methods πŸ’… (the manpage header calls it Geo::G...:Others(3pm) because apparently even manpages gotta be mysterious 🫢)


🌸 SYNOPSIS 🌸

use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my @point=$document->MultiPoint(%data); #()
my $point=$document->MultiPoint(%data); #[]

like, you make a document, you call MultiPoint, and depending on whether you want a list or a single thing you get () or [] energy 😌


πŸŽ€ METHODS πŸŽ€

so here's the tea β˜• β€” the methods in this package are AUTOLOADed into the Geo::GoogleEarth::Pluggable::Folder namespace at runtime. yes, at runtime. they just appear. iconic behavior, no cap πŸ‘‘

MultiPoint

my @point=$document->MultiPoint(
                       name=>"Point",              #SCALAR sprintf("%s (%s)", $name, $index)
                       coordinates=>[{}, {}, ...], #CODE ($index, $point)
                     #TODO#name=>["pt1", "pt2", ...],  #ARRAY
                     #TODO#name=>sub{sprintf("Point %s is a %s", shift, ref(shift))},
                                );

let me walk you through it bestie 🧚

  • name β€” you can hand it a SCALAR, and it gets sprintf'd as "%s (%s)" with $name and $index. and listen β€” the ARRAY version (["pt1", "pt2", ...]) and the CODE version (sub{sprintf("Point %s is a %s", shift, ref(shift))}) are both marked #TODO# so they are not a thing yet, don't come for me πŸ™ˆ
  • coordinates β€” you can pass a CODE ref, which gets called with ($index, $point) πŸ”₯
Note: Currently coordinates must be {lat=>$lat, lon=>$lon, alt=>$alt} ⚠️

TODO: Coordinates can be any format supported by Placemark->coordinates 🌈 (one day, bestie, one day)


πŸ’œ TODO πŸ’œ

(this section is literally empty. it's giving "we'll get to it" energy. the void. the silence. a moment of peace ✨)


πŸ’€ BUGS πŸ’€

found a bug? Please log on RT and send to the geo-perl email list πŸ“¬ don't suffer in silence, fr fr


🫢 SUPPORT 🫢

DavisNetworks.com supports all Perl applications including this package πŸ’– (yes, all of them, they said what they said)


πŸ‘‘ AUTHOR πŸ‘‘

Michael R. Davis (mrdvt92)
CPAN ID: MRDVT

the main character himself, we stan 🌟


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

and that's the whole page bestie!! this was documented with perl v5.32.1 on 2021-11-28 β€” so if you're reading this in the future, hi, hope the TODO section got filled in πŸ’…βœ¨ bye ily πŸ¦‹

πŸ“¦ where this page comes from