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()
This method is deprecated.
Use
CoreApi.Routing
| ||||||||||
abstract void |
requestRouting(RouteRequest request, RoutingRequestCallback callback)
This method is deprecated.
use
routing()
| ||||||||||
abstract void |
startNavigation(Route route, RoutingStatusCallback routingStatusCallback)
This method is deprecated.
use
CoreApi.Routing
| ||||||||||
abstract void |
stopNavigation()
This method is deprecated.
use
CoreApi.Routing
| ||||||||||
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 |
---|
This method is deprecated.
Use CoreApi.Routing
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.
This method is deprecated.
use routing()
Request a route
request | route request with options |
---|---|
callback | Callback when successful or failed |
This method is deprecated.
use CoreApi.Routing
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 method is deprecated.
use CoreApi.Routing
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. |
---|