Region

class Region(val id: Region.Id, val name: String, val children: Set<Region>)

A geographic region in the map.

Regions form a hierarchical structure where parent regions contain child regions. Leaf regions (those without children) represent actual downloadable map areas, while parent regions are logical groupings for organization and navigation.

Constructors

Link copied to clipboard
constructor(id: Region.Id, name: String, children: Set<Region>)

Types

Link copied to clipboard
value class Id(val value: Long)

Unique identifier of a region in a given RegionStructure.

Properties

Link copied to clipboard

The sub-regions within this region.

Link copied to clipboard

The unique identifier of this region.

Link copied to clipboard

True if this region can be downloaded or updated.

Link copied to clipboard

The localized name of this region.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String