IndoorRoutingController

public class IndoorRoutingController
extension IndoorRoutingController: NativeBase
extension IndoorRoutingController: Hashable

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.

  • Creates a new instance of this class.

    Declaration

    Swift

    public init(_ venueMap: VenueMap, mapView: MapViewBase)

    Parameters

    venueMap

    A venue map instance.

    mapView

    A map scene where routes should be shown.

  • Shows an indoor route on the map. The previously visible indoor route will be hidden.

    Declaration

    Swift

    public func showRoute(route: Route, style: IndoorRouteStyle)

    Parameters

    route

    A route to show

    style

    A route style for the given route.

  • Hides an indoor route, visible on the map.

    Declaration

    Swift

    public func hideRoute()