Geo::G...:LookAt(3pm)
π 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,tiltandheadingare 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. π
π COPYRIGHT π
"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
- debian bookworm: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- debian trixie: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu jammy: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu noble: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu resolute: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms