DOKK / manpages / debian 12 / tirex / Tirex::Metatiles::Range.3pm.en
Tirex::Metatiles::Range(3pm) User Contributed Perl Documentation Tirex::Metatiles::Range(3pm)

Tirex::Metatiles::Range - range of metatiles

 use Tirex::Metatiles::Range;
 $range = Tirex::Metatiles::Range->new( z => '3-4', lon => '8-9', lat => '48-49' );

A range of metatiles for one or more maps, one or more zoom levels and an x/y range for a lon/lat bounding box.

Is used to easily iterate over all those metatiles.

Create new range.

Reset range, so that the next call to next() will return the first metatile in the range.

Returns range itself.

Calculates how many metatiles there are in this range.

Return the number of metatiles you already got out of this range with next().

Return string describing the range.

Get next metatile from the range.

Returns undef if there are no more metatiles.

2023-04-11 perl v5.36.0