TilePyramid

data class TilePyramid(val styleUrl: String, val bounds: BoundingBox, val minZoom: Int = 0, val maxZoom: Int? = null) : OfflinePackDefinition(source)

An offline region defined by a style URL, geographic coordinate bounds, and range of zoom levels.

To minimize the resources required by an irregularly shaped offline region, use Shape instead.

Constructors

Link copied to clipboard
constructor(styleUrl: String, bounds: BoundingBox, minZoom: Int = 0, maxZoom: Int? = null)

Properties

Link copied to clipboard

The coordinate bounds for the geographic region covered by the downloaded tiles.

Link copied to clipboard
open override val maxZoom: Int? = null

The maximum zoom level for which to download tiles and other resources. Null means no maximum.

Link copied to clipboard
open override val minZoom: Int = 0

The minimum zoom level for which to download tiles and other resources.

Link copied to clipboard
open override val styleUrl: String