Class TileKey

java.lang.Object
com.here.sdk.mapview.datasource.TileKey

public final class TileKey extends Object

Key of a data source tile. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Level of the tile.
    int
    X coordinate of the tile.
    int
    Y coordinate of the tile.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TileKey(int x, int y, int level)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x

      X coordinate of the tile. This ranges from 0 to 2^level − 1.

    • y

      public int y

      Y coordinate of the tile. This ranges from 0 to 2^level − 1.

    • level

      public int level

      Level of the tile. Supported range [0, 31].

  • Constructor Details

    • TileKey

      public TileKey(int x, int y, int level)

      Creates a new instance.

      Parameters:
      x -

      X coordinate of the tile. This ranges from 0 to 2^level − 1.

      y -

      Y coordinate of the tile. This ranges from 0 to 2^level − 1.

      level -

      Level of the tile. Supported range [0, 31].

  • Method Details