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

MDK 3.7.3

fun loadCachedBuildingsNearby(longitude: Double, latitude: Double, radius: Double): List<Building>

Loads buildings from the local cache located near the specified coordinates.

This function uses the geographic coordinates (latitude and longitude) and a radius in meters to determine a bounding area in which to search for cached buildings.

Return

A list of Building objects found in the cache within the specified area.

Parameters

longitude

The longitude of the central point of the search area.

latitude

The latitude of the central point of the search area.

radius

The search radius in meters. Must be greater than zero.

Throws

If the radius is not positive or coordinates are invalid.