Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MDK 3.7.3

class Region : Place

Represents a geographical region within the GiPStech system.

This class handles the management of map tiles, localization, and related operations within a specific area.

Properties

Returns a list of all buildings currently available for this region.

Returns a list of all tiles currently available for this region.

Functions

open override fun findAuxiliaryFiles(purpose: AuxiliaryFile.Purpose, pattern: Regex? = null, depth: Int = 1): List<AuxiliaryFile>
fun findAuxiliaryFiles(purpose: AuxiliaryFile.Purpose, includeIndoor: Boolean, pattern: Regex? = null, depth: Int = 1): List<AuxiliaryFile>

Returns a list of auxiliary files currently available for this region, filtered by purpose.

Finds a building by its unique identifier.

Returns the auxiliary file handles associated with the specified purpose.

fun isNearOrOutsideBorder(coordinates: Coord2D, distance: Double): Boolean
fun isNearOrOutsideBorder(longitude: Double, latitude: Double, distance: Double): Boolean

Checks if the provided coordinates is near or outside the region's boundaries.

fun loadAdditionalArea(southWest: Coord2D, northEast: Coord2D)
fun loadAdditionalArea(swLongitude: Double, swLatitude: Double, neLongitude: Double, neLatitude: Double)

Loads additional map area (tiles) based on the provided geographical boundaries.

suspend fun requestAdditionalArea(southWest: Coord2D, northEast: Coord2D, fallback: Boolean = true)
suspend fun requestAdditionalArea(swLongitude: Double, swLatitude: Double, neLongitude: Double, neLatitude: Double, fallback: Boolean = true)

Requests additional map area to be loaded based on the provided geographical boundaries.

open suspend override fun startLocalization(listener: LocationListener, scope: CoroutineScope = GiPStech.defaultScope): LocationSession

Starts the localization process within this region.

open suspend override fun stopLocalization()

Stops the localization process within this region.