Shape

data class Shape(val styleUrl: String, val shape: Geometry, val minZoom: Int = 0, val maxZoom: Int? = null) : OfflinePackDefinition(source)

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

Constructors

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

Properties

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

The shape for the geographic region covered by the downloaded tiles.

Link copied to clipboard
open override val styleUrl: String