Skip to content
Select language:English

MDK 3.7.3

suspend fun requestAdditionalArea(southWest: Coord2D, northEast: Coord2D, fallback: Boolean = true)

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

Parameters

southWest

The south-west corner of the area to request.

northEast

The north-east corner of the area to request.

fallback

A boolean indicating whether to fall back to a locally cached version if the server is unreachable. Defaults to true.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If the initialization is cancelled.


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.

Parameters

swLongitude

The minimum longitude of the area to request.

swLatitude

The minimum latitude of the area to request.

neLongitude

The maximum longitude of the area to request.

neLatitude

The maximum latitude of the area to request.

fallback

A boolean indicating whether to fall back to a locally cached version if the server is unreachable. Defaults to true.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If the initialization is cancelled.