MPBuildingCollection
Functions
Link copied to clipboard
Returns a building where the given point is inside.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBuildingClosestToCameraTarget(@Nullable cameraTarget: MPLatLng, @Nullable buildingsInView: List<MPBuilding>): MPBuilding
Link copied to clipboard
This will select the building which bounding box "wraps" the camera target
Link 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
open fun intersectionArea(@NonNull bbox: Array<Double>, @NonNull latLngBounds: MPLatLngBounds): Double