HERE iOS SDK Developer's Guide

NMAVenue3dRoutingController

Class Summary

class NMAVenue3dRoutingController

Derived from: NSObject

An NMAVenue3dRoutingController object encapsulates the routing functionality.

Include: NMAKit.framework/headers/NMAVenue3dRoutingController.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAVenue3dRoutingController

[For complete information, see the section Class Details]

See also:

NMAVenue3dMapLayer

NMAVenue3dController

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) addObserver:(id< NMAVenue3dRoutingControllerObserver >) observer

Add a NMAVenue3dRoutingControllerObserver.

-(void) calculateRouteFrom:( NMAVenue3dBaseLocation *) startLocation to:( NMAVenue3dBaseLocation *) endLocation withParams:( NMAVenue3dRouteOptions *) options

Calculates route object from start to end location

-(void) calculateRouteWithPoints:(NSArray *) points withParams:( NMAVenue3dRouteOptions *) options

Calculates route object with given waypoints

-(void) hideRoute

Hides the currently shown route

-(void) removeObserver:(id< NMAVenue3dRoutingControllerObserver >) observer

Remove a NMAVenue3dRoutingControllerObserver.

-(void) showRoute:( NMAVenue3dCombinedRoute *) combinedRoute

Shows the route on the map

Class Details

An NMAVenue3dRoutingController object encapsulates the routing functionality.

With NMAVenue3dRoutingController one can set route parameters like start end end locations and display the route. Either end of the route need to be some space in a venue.

This class can not be instantiated directly, instead it is obtained from NMAVenueMapLayer for the given NMAVenue3dController object.

See also:

NMAVenue3dMapLayer

NMAVenue3dController

Instance Method Details

-(void) addObserver:(id< NMAVenue3dRoutingControllerObserver >) observer

Add a NMAVenue3dRoutingControllerObserver.

Parameters:

  • observer

    to be added

-(void) calculateRouteFrom:( NMAVenue3dBaseLocation *) startLocation to:( NMAVenue3dBaseLocation *) endLocation withParams:( NMAVenue3dRouteOptions *) options

Calculates route object from start to end location. Route calculation is done in asynchronous manner, and is available for listeners of NMAVenue3dRoutingControllerDelegate upon completion.

Parameters:

  • startLocation

    A start location object.

  • endLocation

    An end ocation object.

  • options

    An options used for route calculataion.

-(void) calculateRouteWithPoints:(NSArray *) points withParams:( NMAVenue3dRouteOptions *) options

Calculates route object with given waypoints. Route calculation is done in asynchronous manner, and is available for listeners of NMAVenue3dRoutingControllerDelegate upon completion.

Parameters:

  • points

    The points on the route as NMAVenue3dBaseLocation objects (start, waypoints, end). Maximum number of elements is 11 (9 waypoints).

  • options

    Options used for route calculataion.

-(void) hideRoute

Hides the currently shown route.

-(void) removeObserver:(id< NMAVenue3dRoutingControllerObserver >) observer

Remove a NMAVenue3dRoutingControllerObserver.

Parameters:

  • observer

    to be added

-(void) showRoute:( NMAVenue3dCombinedRoute *) combinedRoute

Shows the route on the map. Only one route at a time can be shown.

Parameters:

  • combinedRoute

    A route object. This object is obtained using calculateRouteFrom message or calculateRouteWithPoints message of this class. The route can be hidden using hideRoute message of this class.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.