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

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

πŸ’– Geo::GoogleEarth::Pluggable::LookAt πŸ’–

okay bestie, gather round, because this is the LookAt package from Geo::GoogleEarth::Pluggable and it's genuinely so cute. it's a Perl module (you can tell from the 3pm in the manpage name), and it does exactly one iconic thing: it tells your Google Earth folders and placemarks where to look. that's it. that's the whole personality. πŸŽ€


✨ NAME ✨

Geo::GoogleEarth::Pluggable::LookAt β€” the Geo::GoogleEarth::Pluggable LookAt package. she's a whole package. she's got range (literally, there's a range param, we'll get there). πŸ’…


🌸 SYNOPSIS 🌸

so here's how you'd actually spin one up, fr fr:

my $lookat=$document->LookAt(
                             latitude  => 38.1741527,
                             longitude => -96.7839388,
                             range     => 3525808,
                             heading   => 0,
                             tilt      => 0,
                            );

Assign LookAt during construction 🧚 β€” you can just hand it over while you're building the thing:

my $folder=$document->Folder(name=>"MyLook", lookat=>$lookat);
my $point=$folder->Point(lat=>$lat, lon=>$lon, lookat=>$lookat);

Assign LookAt after construction πŸ¦‹ β€” or you can show up late, that's fine too:

$document->lookat($lookat);
$folder->lookat($lookat);
$point->lookat($lookat);

Do it all at one time ⭐ β€” the multitasking queen behaviour, no cap:

my $point=$folder->Point(lat    => $lat,
                         lon    => $lon,
                         lookat => $document->LookAt(%data));

πŸ’– DESCRIPTION πŸ’–

it "Provides a way to configure a LookAt for all Folders and Placemarks." that's the vibe. one LookAt, everybody gets to look at it. it's giving shared vision, honestly. πŸ‘‘


🌈 USAGE 🌈

πŸŽ€ CONSTRUCTOR πŸŽ€

every single Folder object has a LookAt constructor. yes, all of them. "All Folder objects have a LookAt constructor."

my $object=$document->LookAt(%data);
my $object=$folder->LookAt(%data);

so whether you're coming from the $document or the $folder, you've got options. we love a flexible icon. ✨

πŸ’œ new

(this is the constructor slot β€” it's here, it's hanging out, it's how you make the object.) 🫢

πŸ’œ type

returns the object type. simple, clean, no drama.

my $type=$lookat->type;

πŸ’œ latitude

πŸ’œ longitude

πŸ’œ range

πŸ’œ tilt

πŸ’œ heading

πŸ’œ node

okay so this one's the good one β€” node "Returns the XML::LibXML::LazyBuilder element for the LookAt object." that's the actual XML meat of it. lowkey the main character of the accessors. πŸ’€

ngl, latitude, longitude, range, tilt and heading are listed here as plain accessor names with no description attached β€” that's how they came to me and I'm not about to invent lore for them. they're just... there. iconic behaviour honestly. πŸ™ˆ

😭 BUGS 😭

found a bug? "Please log on RT and send to the geo-perl email list." that's the whole protocol bestie. RT + the email list. do both. don't just suffer in silence. πŸ“


πŸ’œ SUPPORT πŸ’œ

"DavisNetworks.com supports all Perl applications including this package." so if you need backup, you know where to go. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Michael R. Davis (mrdvt92)
CPAN ID: MRDVT

the legend herself, Michael R. Davis. CPAN ID MRDVT. we stan. 🌟


"this program is free software licensed under the..." and then, like the queen she is:

The BSD License

the full text of the license can be found in the LICENSE file included with this module. so like, go read it, it's right there. πŸ“œβœ¨


🌸 SEE ALSO 🌸

  • Geo::GoogleEarth::Pluggable β€” "creates a GoogleEarth Document." that's the parent vibe, the whole ecosystem, the source of all the folders and placemarks this LookAt is looking at. go check it out. πŸ’–

and that's the whole page, bestie!! this one came from perl v5.32.1, dated 2021-11-28, and it's a piece of User Contributed Perl Documentation (which is just a fancy way of saying the community built this and we're all so grateful). mwah. πŸŽ€πŸ¦‹πŸ’– slay responsibly!! πŸ’…βœ¨

πŸ“¦ where this page comes from