RegionStructure

class RegionStructure(val roots: Set<Region>, val regionStates: Map<Region.Id, RegionState>)

Hierarchical structure of the offline map regions.

This represents the complete structure of available regions in the map, organized as a tree structure with root regions at the top level.

Constructors

Link copied to clipboard
constructor(roots: Set<Region>, regionStates: Map<Region.Id, RegionState>)

Properties

Link copied to clipboard

The current RegionState for each region in the structure, mapped by their Region.Id.

Link copied to clipboard

The root Region nodes in the hierarchy. These are typically top-level geographic areas (e.g., continents or countries) that contain more specific regions.

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