com.mapsted.map.MapApi.Wayfinding |
![]() |
Access Wayfinding, Routing, turn-by-turn Navigation related information and functionalities
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clearAllRoutes()
Clears RouteResponse objects
| ||||||||||
abstract void |
clearBuildingRoutes(int buildingId)
Clears route data on all floors for the provided building id
| ||||||||||
abstract void |
clearPropertyRoutes(int propertyId)
Clear routes on property layer
| ||||||||||
abstract RouteNode |
getCurNavigationInstruction()
Get current navigation instruction.
| ||||||||||
abstract void |
requestRouting(RouteRequest request, RoutingRequestCallback callback)
Request a route
| ||||||||||
abstract void |
startNavigation(Route route, RoutingStatusCallback routingStatusCallback)
This function will start navigation process.
| ||||||||||
abstract void |
stopNavigation()
This function will stop navigation process.
| ||||||||||
abstract void |
switchRoute(Route route)
Change path drawing to a different route.
| ||||||||||
abstract void |
switchRouteSegment(RouteSegment routeSegment)
Change path drawing to another route segment within the same route
If you want to change to another route segment,
use
switchRoute(Route) } instead. |
Clears RouteResponse objects
Clears route data on all floors for the provided building id
buildingId | Building id for which the routes are supposed to be cleared |
---|
Clear routes on property layer
propertyId | the route's PropertyId to clear |
---|
Get current navigation instruction.
Call this function to get the latest navigation instruction. This function need to be
called inside navigation mode. Assume startNavigation(Route, RoutingStatusCallback)
is already called.
Request a route
request | route request with options |
---|---|
callback | Callback when successful or failed |
This function will start navigation process. It will clear previous routes, tilt focus map, handle paths drawn on the map. Then call positioning library to start navigation process.
route | the desired route |
---|---|
routingStatusCallback | callback for status updates |
This function will stop navigation process. It will call positioning library to stop navigation process.
Change path drawing to a different route. If you want to change route segment only and
keep the same route, use switchRouteSegment(RouteSegment)
instead.
route | The route you want to switch to |
---|
Change path drawing to another route segment within the same route
If you want to change to another route segment,
use switchRoute(Route)
} instead.
routeSegment | The route segment you want to switch. |
---|