Walking Path Overlay Util
Utility class for WalkingPathOverlay.
Functions
Link copied to clipboard
Determines the geographic boundaries that encapsulates the given building
Link copied to clipboard
Determines the geographic boundaries that encapsulates the given coordinate list
Link copied to clipboard
Determines the geographic boundaries that encapsulates the given floor
Link copied to clipboard
Determines the geographic boundaries that encapsulates the given waypath segment
Link copied to clipboard
Determines the geographic boudaries that encapsulates the part of a waypath on a given floor
Link copied to clipboard
Calculates the bounds for a list of given waypoint on a given floor.
Link copied to clipboard
open fun findClosestDestinationWaypointInList(location: LatLng, waypoints: List<Waypoint>): Waypoint
Finds the closest waypoint in a given list for the given location, only if it is a destination type.
Link copied to clipboard
Figure out the closest mapped waypoint to a user-tapped location
Link copied to clipboard
Calculates the zoom needed to display the entire bounds on a map.
open fun getBoundsZoomLevel(bounds: LatLngBounds, mapWidthPx: Integer, mapHeightPx: Integer, maxZoom: Float): Float
Calculates the zoom needed to display the entire bounds on a map clamped to a max zoom.
Link copied to clipboard
Rotates a coordinate around a center point