Warning
This feature is available in the Full MapKit SDK version
MMKPolygonManeuverStyle
class MMKPolygonManeuverStyle : NSObject |
The style that is used to display polygon maneuvers and trajectories on the map.
Summary
Class methods
init(trajectoryWidth: Float, |
Properties
var trajectoryWidth: Float { get } |
var trajectoryColor: UIColor { get } |
var polygonAlpha: Float { get } |
var polygonColor: UIColor { get } |
var renderMode: MMKPolygonManeuverRenderMode { get } |
var fadeDistance: Float { get } |
var fadeAlpha: Float { get } |
var enabled: Bool { get } |
Class methods
init(trajectoryWidth:trajectoryColor:polygonAlpha:polygonColor:renderMode:fadeDistance:fadeAlpha:enabled:)
init(trajectoryWidth: Float, |
Properties
trajectoryWidth
var trajectoryWidth: Float { get } |
Width of trajectory line on polygon maneuvers. Used only ColoredPolygon render mode.
trajectoryColor
var trajectoryColor: UIColor { get } |
Color of trajectory line on polygon maneuvers. Used only ColoredPolygon render mode.
polygonAlpha
var polygonAlpha: Float { get } |
Polygon maneuver alpha.
polygonColor
var polygonColor: UIColor { get } |
Color of polygon maneuver. Used only ColoredTrajectory render mode.
renderMode
var renderMode: MMKPolygonManeuverRenderMode { get } |
Polygon maneuver render mode.
fadeDistance
var fadeDistance: Float { get } |
In meters.
fadeAlpha
var fadeAlpha: Float { get } |
Must be in range [0, 1], where 0 means invisibility.
enabled
var enabled: Bool { get } |
Enables/disables polygon maneuvers.