Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Class Methods | Properties | List of all members
NMRouteVisualizationSettings Class Reference

Inherits <NSObject>.

Instance Methods

(nonnull instancetype) - init
 
(nonnull instancetype) - initWithRemoveRoutePolyline:removeDestinationFlag:
 

Class Methods

(nonnull instancetype) + settingsWithRemoveRoutePolyline:removeDestinationFlag:
 

Properties

BOOL removeRoutePolylineOnceDestinationIsReached
 
BOOL removeDestinationFlagOnceDestinationIsReached
 

Detailed Description

Interface representing route visualization settings which affect route visualizer requests emitted by route navigator.

Method Documentation

◆ init()

- (nonnull instancetype) init

Initializes settings with default values.

◆ initWithRemoveRoutePolyline:removeDestinationFlag:()

- (nonnull instancetype) initWithRemoveRoutePolyline: (BOOL)  removeRoutePolyline
removeDestinationFlag: (BOOL)  removeDestinationFlag 

Initializes settings with the specified values.

Parameters
removeRoutePolylineSpecifies value of the removeRoutePolylineOnceDestinationIsReached property.
removeDestinationFlagSpecifies value of the removeDestinationFlagOnceDestinationIsReached property.
Returns
New route visualization settings instance.

◆ settingsWithRemoveRoutePolyline:removeDestinationFlag:()

+ (nonnull instancetype) settingsWithRemoveRoutePolyline: (BOOL)  removeRoutePolyline
removeDestinationFlag: (BOOL)  removeDestinationFlag 

Initializes settings with the specified values.

Parameters
removeRoutePolylineSpecifies value of the removeRoutePolylineOnceDestinationIsReached property.
removeDestinationFlagSpecifies value of the removeDestinationFlagOnceDestinationIsReached property.
Returns
New route visualization settings instance.

Property Documentation

◆ removeDestinationFlagOnceDestinationIsReached

- (BOOL) removeDestinationFlagOnceDestinationIsReached
readnonatomicassign

Indicates whether the destination flag should be removed from map once route destination is reached.

Default value is 'NO'.

◆ removeRoutePolylineOnceDestinationIsReached

- (BOOL) removeRoutePolylineOnceDestinationIsReached
readnonatomicassign

Indicates whether the route polyline should be removed from map once route destination is reached.

Default value is 'YES'.