Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - init |
(nullable instancetype) | - initInWalkingMode |
(nullable instancetype) | - initWithTraffic: |
Properties | |
BOOL | isWalkingMode |
NMVehicleType | vehicleType |
BOOL | avoidTollRoads |
BOOL | considerTraffic |
BOOL | useProvidedTimesToCalculateEta |
NSInteger | maxSnappingDistanceInMeters |
NMTrafficSnapshot * | trafficSnapshot |
- (nullable instancetype) init |
Initializes object with default values.
- (nullable instancetype) initInWalkingMode |
Initializes object with default values except the isWalkingMode property, which is initialized with 'YES'.
- (nullable instancetype) initWithTraffic: | (nonnull NMTrafficSnapshot *) | trafficSnapshot |
Initializes object with default values except the trafficSnapshot property, which is initialized with the specified traffic snapshot.
trafficSnapshot | @nonnull Traffic snapshot to initialize object with. |
|
readwritenonatomicassign |
Specifies whether toll roads should be avoided. The property is ignored in walking mode.
Default value is 'NO'.
|
readwritenonatomicassign |
Specifies whether traffic should be considered during route calculation. The property is ignored in walking mode.
Default value is 'YES'.
|
readwritenonatomicassign |
Specifies whether walking mode is used.
Default value is 'NO'.
|
readwritenonatomicassign |
Limits the distance being snapped at once. If the distance specified by this property is less than the route length, the remaining part of the route will be snapped while navigating. Setting this property to -1 indicates that snapping distance is unlimited and the whole route should be snapped immediately after obtaining the route. Please note that in case of the online version of the SDK setting large values or -1 may slow down the whole snapping process, because the SDK needs to downoad all the map tiles along the part of the route being snapped.
Default value is 100,000 meters.
|
readwritenonatomicstrong |
A traffic snapshot which is used in route calculation and visualisation of the route polyline. The source of the traffic snapshot is another SDK module. If you want to consider traffic in route calculation and display it on the route polyline after the route is calculated you need to set valid nonnull value to this property.
Default value is 'nil'.
|
readwritenonatomicassign |
Specifies whether the ETA of a route should be calculated using time data from the external route. If 'NO' is specified, the ETA is calculated based on the time data obtained from maps locally on the device. The property is ignored in walking mode.
Default value is 'YES'.
|
readwritenonatomicassign |
Specifies vehicle type. The property is ignored in walking mode.
Default value is NMVehicleType_Car.