Class TileIndex

java.lang.Object
com.azure.maps.render.models.TileIndex

public final class TileIndex extends Object
Parameter group.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the x property: X coordinate of the tile on zoom grid.
    int
    Get the y property: Y coordinate of the tile on zoom grid.
    int
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TileIndex

      public TileIndex()
  • 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/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details.

      Returns:
      the z value.
    • setZ

      public TileIndex setZ(int z)
      Set the z property: Zoom level for the desired tile.

      Please see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/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

      public TileIndex setX(int x)
      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

      public TileIndex setY(int y)
      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.