Package com.azure.maps.render.models
Class TileIndex
java.lang.Object
com.azure.maps.render.models.TileIndex
Parameter group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getX()
Get the x property: X coordinate of the tile on zoom grid.int
getY()
Get the y property: Y coordinate of the tile on zoom grid.int
getZ()
Get the z property: Zoom level for the desired tile.setX
(int x) Set the x property: X coordinate of the tile on zoom grid.setY
(int y) Set the y property: Y coordinate of the tile on zoom grid.setZ
(int z) Set the z property: Zoom level for the desired tile.
-
Constructor Details
-
TileIndex
public TileIndex()Creates an instance of TileIndex class.
-
-
Method Details
-
getZ
public int getZ()Get the z property: Zoom level for the desired tile. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Returns:
- the z value.
-
setZ
Set the z property: Zoom level for the desired tile. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Parameters:
z
- the z value to set.- Returns:
- the TileIndex object itself.
-
getX
public int getX()Get the x property: X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1]. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Returns:
- the x value.
-
setX
Set the x property: X coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1]. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Parameters:
x
- the x value to set.- Returns:
- the TileIndex object itself.
-
getY
public int getY()Get the y property: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1]. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Returns:
- the y value.
-
setY
Set the y property: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2<sup>`zoom`</sup> -1]. Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/azure/location-based-services/zoom-levels-and-tile-grid) for details.- Parameters:
y
- the y value to set.- Returns:
- the TileIndex object itself.
-