KNMapRouteProperties
INFO
This English reference is based on Directions SDK 1.12.12. For the latest version, see the Korean reference.
- Inherits from: NSObject
- Declared in: KNMapRouteProperties.h
Configures route properties for KNMapView. Use KNMapRouteTheme to set route colors and line widths, and KNMapRouteEventListener to receive route gesture events.
Properties
| Name | Description | Type |
|---|---|---|
isVisible | Whether routes are visible on the map (default: YES) | @property (nonatomic, readwrite, assign) bool isVisible |
isVisVisibleRGArrow | Whether route arrows are visible (default: YES) | @property (nonatomic, readwrite, assign) bool isVisibleRGArrow |
isVisibleFullRoute | Whether the passed route trimmed by cullPassedRoute remains visible (default: NO) | @property (nonatomic, readwrite, assign) bool isVisibleFullRoute |
useSingleTapped | Whether single-tap events are enabled. If NO, KNMapRouteEventListener does not receive single-tap events. (default: YES) | @property (nonatomic, readwrite, assign) bool useSingleTapped |
useDoubleTapped | Whether double-tap events are enabled. If NO, KNMapRouteEventListener does not receive double-tap events. (default: YES) | @property (nonatomic, readwrite, assign) bool useDoubleTapped |
useLongPressed | Whether long-press events are enabled. If NO, KNMapRouteEventListener does not receive long-press events. (default: YES) | @property (nonatomic, readwrite, assign) bool useLongPressed |
eventListener | Listener for route events on the map view | @property (nonatomic, nullable, readwrite, weak) id<KNMapRouteEventListener> eventListener |
theme | Route style, including line widths and colors for the primary and Alternative routes and traffic-state colors | @property (nonatomic, readwrite, assign, nonnull) KNMapRouteTheme* theme |