Warning
This feature is available in the Full MapKit SDK version
MMKPolygonManeuverStyle
@interface MMKPolygonManeuverStyle : NSObject |
The style that is used to display polygon maneuvers and trajectories on the map.
Summary
Class methods
+ (nonnull MMKPolygonManeuverStyle *)polygonManeuverStyleWithTrajectoryWidth:( float)trajectoryWidth |
Properties
@property (nonatomic, readonly) float trajectoryWidth; |
@property (nonatomic, readonly, nonnull) UIColor *trajectoryColor; |
@property (nonatomic, readonly) float polygonAlpha; |
@property (nonatomic, readonly, nonnull) UIColor *polygonColor; |
@property (nonatomic, readonly) MMKPolygonManeuverRenderMode renderMode; |
@property (nonatomic, readonly) float fadeDistance; |
@property (nonatomic, readonly) float fadeAlpha; |
@property (nonatomic, readonly) BOOL enabled; |
Class methods
polygonManeuverStyleWithTrajectoryWidth:trajectoryColor:polygonAlpha:polygonColor:renderMode:fadeDistance:fadeAlpha:enabled:
+ (nonnull MMKPolygonManeuverStyle *)polygonManeuverStyleWithTrajectoryWidth:( float)trajectoryWidth |
Properties
trajectoryWidth
@property (nonatomic, readonly) float trajectoryWidth; |
Width of trajectory line on polygon maneuvers. Used only ColoredPolygon render mode.
trajectoryColor
@property (nonatomic, readonly, nonnull) UIColor *trajectoryColor; |
Color of trajectory line on polygon maneuvers. Used only ColoredPolygon render mode.
polygonAlpha
@property (nonatomic, readonly) float polygonAlpha; |
Polygon maneuver alpha.
polygonColor
@property (nonatomic, readonly, nonnull) UIColor *polygonColor; |
Color of polygon maneuver. Used only ColoredTrajectory render mode.
renderMode
@property (nonatomic, readonly) MMKPolygonManeuverRenderMode renderMode; |
Polygon maneuver render mode.
fadeDistance
@property (nonatomic, readonly) float fadeDistance; |
In meters.
fadeAlpha
@property (nonatomic, readonly) float fadeAlpha; |
Must be in range [0, 1], where 0 means invisibility.
enabled
@property (nonatomic, readonly) BOOL enabled; |
Enables/disables polygon maneuvers.