public struct TileKey : Hashable

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.

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

    Declaration

    Swift

    public var x: Int32
  • Y coordinate of the tile. This ranges from 0 to 2^level − 1.

    Declaration

    Swift

    public var y: Int32
  • Level of the tile. Supported range [0, 31].

    Declaration

    Swift

    public var level: Int32
  • Creates a new instance.

    Declaration

    Swift

    public init(x: Int32, y: Int32, level: Int32)