Class IndoorRoutingController
This class controls the rendering of indoor routes on the map.
Note: This feature is in BETA state and thus there can be bugs and unexpected behavior.
Related APIs may change for new releases without a deprecation process.
-
Constructor Summary
ConstructorsConstructorDescriptionIndoorRoutingController(VenueMap venueMap, MapViewBase mapView) Creates a new instance of this class. -
Method Summary
-
Constructor Details
-
IndoorRoutingController
Creates a new instance of this class.
- Parameters:
venueMap-A venue map instance.
mapView-A map scene where routes should be shown.
-
-
Method Details
-
showRoute
Shows an indoor route on the map. The previously visible indoor route will be hidden. Any markers not explicitly set in the style will use SDK built-in default icons.
- Parameters:
route-A route to show.
style-A route style for the given route. Unset markers fall back to SDK defaults.
-
showRoute
Shows an indoor route on the map using SDK default style. All markers use SDK built-in default icons with default polyline color (#48DAD0) and width (15 pixels). The previously visible indoor route will be hidden.
- Parameters:
route-A route to show.
-
hideRoute
public void hideRoute()Hides an indoor route, visible on the map.
-