33 return boost::make_shared<MetaIdentifier>(*origin);
44 x1 = std::min(x1, (1 << origin.
getZoom()));
45 y1 = std::min(y1, (1 << origin.
getZoom()));
46 this->
width = x1 - x0;
51 for (
int tx =
x; tx < x1; tx++)
52 for (
int ty =
y; ty < y1; ty++)
55 boost::make_shared<TileIdentifier>(tx, ty, origin.
getZoom(),
83 && tid->getZoom() ==
zoom 93 int z = this->
zoom + 1;
103 if (x+n < (1 << z) && y+n < (1 << z))
string styleSheetpath
path to the Stylesheet which should be used for rendering.
TileIdentifier(int x, int y, int zoom, string styleSheetpath, Format imageFormat)
Constructs a new TileIdentifier with the given parameters.
A TileIdentifier identifies a Tile.
TESTABLE int getY() const
Returns the y coordinate of the Tile.
int x
x coordinate of the Tile.
TESTABLE int getZoom() const
Returns the zoom level of the Tile.
TESTABLE const string & getStylesheetPath() const
Returns the path to the Stylesheet which should be used for rendering.
TESTABLE Format getImageFormat() const
Returns the image Format of the Tile.
int y
y coordinate of the Tile.
TESTABLE int getX() const
Returns the x coordinate of the Tile.
Format imageFormat
Format of the image.
int zoom
zoom level of the Tile.