MPBuildingCollection
Functions
Link copied to clipboard
Returns a building where the given point is inside.
Link copied to clipboard
open fun getBuildingByAdminId(@Nullable buildingAdministrativeId: String): MPBuilding
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBuildingClosestToCameraTarget(@Nullable cameraTarget: MPLatLng, @Nullable buildingsInView: List<MPBuilding>): MPBuilding
Content copied to clipboard
Link copied to clipboard
open fun getBuildingInBounds(@NonNull bounds: MPLatLngBounds): MPBuilding
Content copied to clipboard
This will select the building which bounding box "wraps" the camera target
Link copied to clipboard
open fun getBuildingsInBounds(@NonNull bounds: MPLatLngBounds): List<MPBuilding>
Content copied to clipboard
Builds up a list of visible buildings (their AABB intersects with the given bounds).
Link copied to clipboard
open fun intersectionArea(@NonNull latLngBoundsA: MPLatLngBounds, @NonNull latLngBoundsB: MPLatLngBounds): Double
Content copied to clipboard
open fun intersectionArea(@NonNull bbox: Array<Double>, @NonNull latLngBounds: MPLatLngBounds): Double
Content copied to clipboard