QueryParameters class

A mutable data class that holds the calculated parameters for a map data query.

This class translates a request for a specific tile or area at a given zoom level into the corresponding base tile and block coordinates needed to read the data from a sub-file.

Constructors

QueryParameters()

Properties

fromBaseTileX int
getter/setter pair
fromBaseTileY int
getter/setter pair
fromBlockX int
getter/setter pair
fromBlockY int
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
queryTileBitmask int?
getter/setter pair
queryZoomLevel int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toBaseTileX int
getter/setter pair
toBaseTileY int
getter/setter pair
toBlockX int
getter/setter pair
toBlockY int
getter/setter pair
useTileBitmask bool
getter/setter pair

Methods

calculateBaseTiles(Tile upperLeft, Tile lowerRight, SubFileParameter subFileParameter) → void
Calculates the query parameters for a rectangular area of tiles.
calculateBaseTilesSingle(Tile tile, SubFileParameter subFileParameter) → void
Calculates the query parameters for a single tile.
calculateBlocks(SubFileParameter subFileParameter) → void
Calculates the block range within the sub-file that needs to be read.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override