Tirex::Zoomrange(3pm)

Tirex::Zoomrange3pm

Range of zoom levels

Usage

my $zr = Tirex::Job->new($name, $min[, $max])

Overview

Optionally named zoom level range.

Methods

Tirex::Zoomrange->new('foo', 4, 5)

Create new range. First argument is the name. Second and third argument the min and max zoom levels. If no max level is given, it is the same as min.

If the name is undef, it is set to 'zMIN-MAX' or 'zMIN' if MIN==MAX.

$zr->get_name()

Get name.

$zr->get_min()

Get minimum zoom level in this range.

$zr->get_max()

Get maximum zoom level in this range.

$zr->to_s()

Get range as string. Format "MIN-MAX" or "MIN" if MIN==MAX.

$zr->get_id()

Get id. The id is a simplified version of the name that only contains the characters a-z, 0-9, and _.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From tirex 0.7.1-3+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.