MPRoute

@interface MPRoute

Routing is under development. The route model contains the route components: The start and end point, the overall route distance, the duration using the chosen vehicle(s), the actual route components (routeLegs) containing the route geometry and actions (shifts, turns, climbs etc.) performed to get to the destination point. Typically this object is not manually instantiated, but returns as a result from a routing provider (MPRoutingProvider).

  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • The route legs: the different route components. Typically a route from 1st floor to 2nd floor will consist of two route legs.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSMutableArray *legs;
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • Undocumented

    Declaration

    Objective-C

    @interface MPRoute
  • The route geometry as Google Maps polylines.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSMutableArray *polylines;
  • The route geometry as Google Maps polylines (line stroke imitation).

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSMutableArray *polylineStrokes;
  • Draw the route on the map.

    Declaration

    Objective-C

    - (void)addToMap:(id)map highlightFloor:(int)floorIndex;

    Swift

    func add(toMap map: Any!, highlightFloor floorIndex: Int32)
  • Clear the route on the map.

    Declaration

    Objective-C

    - (void)clearRouteDraw;

    Swift

    func clearDraw()
  • Make the route fully visible on the map.

    Declaration

    Objective-C

    - (void)showAll;

    Swift

    func showAll()