GeoTileMatrixSet class abstract
A tile matrix set with conversions between tiles and geographic positions.
- Inheritance
-
- Object
- TileMatrixSet
- GeoTileMatrixSet
- Implementers
Constructors
- GeoTileMatrixSet()
-
Default
const
constructor to allow extending this abstract class.const
Properties
- converter → ScaledConverter
-
A map converter between geospatial positions and map coordinates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxZoom → int
-
The maximum (suggested) zoom level for this tile matrix set.
no setterinherited
- origin → CanvasOrigin
-
The position of the origin in a tile matrix and map pixel "canvas".
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tileSize → int
-
The number of pixels for one tile in one axis (normally 256 or 512).
no setterinherited
Methods
-
mapBounds(
) → GeoBox -
Returns a bounding box with min and max positions for the whole map.
override
-
mapHeight(
int zoom) → int -
The number of pixels ("map height") at
zoom
in the Y axis.inherited -
mapWidth(
int zoom) → int -
The number of pixels ("map width") at
zoom
in the X axis.inherited -
matrixHeight(
int zoom) → int -
The number of tiles ("matrix height") at
zoom
in the Y axis.inherited -
matrixWidth(
int zoom) → int -
The number of tiles ("matrix width") at
zoom
in the X axis.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pixelArcResolution(
int zoom) → double -
The arc resolution (longitudal) of a pixel in degrees at
zoom
. -
pixelGroundResolution(
int zoom) → double -
The groud resolution (in meters) of a pixel at
zoom
.inherited -
pixelToPosition(
Scalable2i pixel) → Geographic -
Transforms
pixel
coordinates to a position.override -
pixelToTile(
Scalable2i pixel) → Scalable2i -
Returns a tile covering a region in
pixel
coordinates.inherited -
pixelToWorld(
Scalable2i pixel) → Projected -
Transforms
pixel
coordinates to world coordinates.inherited -
positionToPixel(
covariant Geographic position, {int zoom = 0}) → Scalable2i -
Transforms
position
to pixel coordinates atzoom
.override -
positionToTile(
covariant Geographic position, {int zoom = 0}) → Scalable2i -
Returns a tile at
zoom
covering a region inposition
.override -
positionToWorld(
covariant Geographic position) → Projected -
Transforms
position
to world coordinates.override -
scaleDenominator(
int zoom, {double screenPPI = screenPPIbyOGC}) → double -
The map scale denominator at
zoom
andscreenPPI
.inherited -
tileArcResolution(
int zoom) → double -
The arc resolution (longitudal) of a tile in degrees at
zoom
. -
tileGroundResolution(
int zoom) → double -
The groud resolution (in meters) of a tile at
zoom
.inherited -
tileToBounds(
Scalable2i tile) → GeoBox -
Returns a bounding box with min and max positions for
tile
.override -
tileToPixel(
Scalable2i tile, {Aligned align = Aligned.center, bool requireInside = false}) → Scalable2i -
Transforms a fractional point defined by
align
insidetile
to pixel coordinates.inherited -
tileToPosition(
Scalable2i tile, {Aligned align = Aligned.center}) → Geographic -
Transforms a fractional point defined by
align
insidetile
to a position.override -
tileToWorld(
Scalable2i tile, {Aligned align = Aligned.center}) → Projected -
Transforms a fractional point defined by
align
insidetile
to world coordinates.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
worldToPixel(
Projected world, {int zoom = 0}) → Scalable2i -
Transforms
world
coordinates to pixel coordinates atzoom
.inherited -
worldToPosition(
Projected world) → Geographic -
Transforms
world
coordinates to a position.override -
worldToTile(
Projected world, {int zoom = 0}) → Scalable2i -
Returns a tile at
zoom
covering a region inworld
coordinates.inherited -
zoomFromPixelGroundResolution(
double resolution) → double -
The zoom from pixel ground
resolution
in meters.inherited -
zoomFromScaleDenominator(
double denominator, {double screenPPI = screenPPIbyOGC}) → double -
The zoom from map scale
denominator
at givenscreenPPI
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited