Skip to content
Select language:English

MDK 3.7.3

fun loadRegion(southWest: Coord2D, northEast: Coord2D): Region

Loads a region from the local file system.

This method attempts to load a region's map data from the local file system.

Return

The loaded Region object.

Parameters

southWest

The southwest corner of the region.

northEast

The northeast corner of the region.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If another operation is in progress.


fun loadRegion(swLongitude: Double, swLatitude: Double, neLongitude: Double, neLatitude: Double): Region

Loads a region from the local file system.

This method attempts to load a region's map data from the local file system.

Return

The loaded Region object.

Parameters

swLongitude

The minimum longitude of the region.

swLatitude

The minimum latitude of the region.

neLongitude

The maximum longitude of the region.

neLatitude

The maximum latitude of the region.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If another operation is in progress.