The QGeoTiledMapRequest class represents a request for a map tile from a tile-based mapping service. More...
#include <QGeoTiledMapRequest>
QGeoTiledMapRequest () | |
QGeoTiledMapRequest ( QGeoTiledMapData * mapData, int row, int column, const QRect & tileRect ) | |
QGeoTiledMapRequest ( const QGeoTiledMapRequest & other ) | |
~QGeoTiledMapRequest () | |
int | column () const |
QGeoTiledMapData * | mapData () const |
QGraphicsGeoMap::MapType | mapType () const |
int | row () const |
QRect | tileRect () const |
int | zoomLevel () const |
QGeoTiledMapRequest & | operator= ( const QGeoTiledMapRequest & other ) |
bool | operator== ( const QGeoTiledMapRequest & other ) const |
The QGeoTiledMapRequest class represents a request for a map tile from a tile-based mapping service.
The tile is specified by a map type, a zoom level, a row and a column.
At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and the row and column are relative to the grid of tiles for the zoom level of the request.
Constructs a new tiled map request.
Constructs a new tiled map request.
The request is associated with mapData
At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles.
This tiled map request represents a request for the tile at row row and column column at zoom level mapData->zoomLevel() and type mapData->mapType().
The rectangle that the tile occupies on the map at the maximum zoom level is also given as tileRect.
Constructs a tiled map request from the contents of other.
Destroys this tiled map request.
Returns the column of the requested tile.
At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and so the column will be between 0 and 2^z - 1.
Returns the QGeoMapData instance associated with this request.
Returns the map type of the request tile.
Returns the row of the requested tile.
At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles, and so the row will be between 0 and 2^z - 1.
Returns the rectangle that the tile covers on the map at the maximum zoon level.
At a zoom level of z the world is represented as a 2^z by 2^z grid of tiles. If m is the maximum zoom level and the tiles are t by t pixel squares, then the entire world could be viewed as a 2^m * t by 2^m * t pixel image.
The rectangle returned is specified relative to the pixel coordinates of the map at the maximum zoom level.
Returns the zoom level of the requested tile.
The lower and upper bounds of the zoom level are set by the QGeoMappingManager that created this request.
Assigns other to this tiled map request and then returns a reference to this tiled map request.
Returns with this tiled map request is equal to other.