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

SpatialManager.loadCachedBuildingsByBounds

MDK 3.7.3

fun loadCachedBuildingsByBounds(southWest: Coord2D, northEast: Coord2D): List<Building>

Loads buildings from the local cache within the specified bounding box.

Return

A list of Building objects found in the local cache that fall within the bounds.

Parameters

southWest

The southwest corner of the bounding box.

northEast

The northeast corner of the bounding box.

Throws

If the system is not initialized or parameters are invalid.


fun loadCachedBuildingsByBounds(swLongitude: Double, swLatitude: Double, neLongitude: Double, neLatitude: Double): List<Building>

Loads buildings from the local cache within the specified bounding box.

Return

A list of Building objects found in the local cache that fall within the bounds.

Parameters

swLongitude

The minimum longitude of the bounding box.

swLatitude

The minimum latitude of the bounding box.

neLongitude

The maximum longitude of the bounding box.

neLatitude

The maximum latitude of the bounding box.

Throws

If the system is not initialized or parameters are invalid.