VectorWalkingPathOverlay

Concrete class for enabling wayfinding visualization with vector maps.

Constructors

Link copied to clipboard
constructor(mapView: MapView)
Default constructor.

Functions

Link copied to clipboard
open fun didTapAtCoordinate(location: LatLng)
Called when user taps on a point in the map.
Link copied to clipboard
open fun didTapUnitAtLocation(mapUnit: MapUnit, location: LatLng)
Called when users taps on a MapUnit in the map.
Link copied to clipboard
open fun fixCamera(waypathBounds: LatLngBounds, bearing: Float, animated: Boolean)
Adjust the camera zoom and position to show the given waypath bounds
Link copied to clipboard
open fun fixCameraToSegment(segment: WaypathSegment, bearing: Float)
Adjusts the camera zoom and position to show the given waypath segment
Link copied to clipboard
Adjusts the camera zoom and position to the entire waypath on the current floor.
Link copied to clipboard
Determine which other associated floors need to be visible based on the target floor.
Link copied to clipboard
open fun loadPathData()
This method populates the marker and paths list, but doesn't add them to the map.
Link copied to clipboard
Called when a waypath segment is selected, and adjusting the map camera
open fun onSegmentSelected(segment: WaypathSegment, adjustsCamera: Boolean)
Clears previous highlighted step and creates a new polyline/arrowhead for current segment.
Link copied to clipboard
Remove wayfinding markers and paths from the map
Link copied to clipboard
open fun reset()
Clears everything and resets the values.
Link copied to clipboard
open fun setEndingWaypoint(waypoint: Waypoint)
Link copied to clipboard
open fun setStartingWaypoint(waypoint: Waypoint)
Link copied to clipboard
open fun setWaypathAndDirections(waypath: Waypath, directions: MapDirectionStepList)
Set waypath and directions, and load path data
Link copied to clipboard
Display all waypoints and paths on the map for the specified floors
Link copied to clipboard
open fun togglePathForFloor(indoorFloor: MapBuildingFloor, outdoorFloor: MapOutdoorBuildingFloor)
This method: Displays all waypoints and paths for debugging purposes if 'displayAllWaypoints' is set to true.
Link copied to clipboard
open fun togglePathForFloors(indoorFloors: List<MapBuildingFloor>, outdoorFloors: List<MapOutdoorBuildingFloor>)
Show waypath for the selected list of floors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var map: Map
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var waypath: Waypath
Link copied to clipboard