OverscaledTileID

@MapboxExperimental
class OverscaledTileID : Serializable

Note! This is an experimental feature. It can be changed or removed in future versions. Represents a tile coordinate at the zoom level it was requested at, which may differ from the `canonical` zoom level when the tile is overscaled, along with the `wrap` offset for tiles that repeat across the antimeridian. As of v11.30, the tile cover API (`tileCover`) returns `OverscaledTileID` instead of `CanonicalTileID` so that callers can distinguish overscaled tiles from tiles at their native zoom level, and so that tiles repeating across the antimeridian can be told apart via `wrap`. When used with `tileCover`, overscaling only happens when `TileCoverOptions::maxZoom` is set and the camera's zoom exceeds it: the tile is clamped to `maxZoom`, and `canonical` holds the coordinate at that clamped zoom level.

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
open fun equals(object: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val wrap: Short