MTPitchLimitHelper
public class MTPitchLimitHelper
Sets combination of minimum and maximum pitch.
-
The maximum pitch of the map (0-85).
If not specified, the SDK will look for it in the map options. If not specified there, it defaults to 60.
Declaration
Swift
public var maxPitch: Double? -
The minimum pitch of the map (0-85).
If not specified, the SDK will look for it in the map options. If not specified there, it defaults to 0.
Declaration
Swift
public var minPitch: Double? -
Returns pitch limit object with no specified limits.
Declaration
Swift
public static func getPitchLimits() -> MTPitchLimitHelper -
Returns pitch limit object constructed from given options object.
Declaration
Swift
public static func getPitchLimitsWith(_ options: MTMapOptions) -> MTPitchLimitHelperParameters
optionsMTMapOptions object with initial limit options.
-
Returns pitch limit object with the given max pitch and min pitch.
Declaration
Swift
public static func limitPitch( maxPitch: Double, minPitch: Double ) -> MTPitchLimitHelperParameters
maxPitchThe maximum pitch of the map (0-85).
minPitchThe minimum pitch of the map (0-85).
-
Returns pitch limit object with the given max pitch.
Declaration
Swift
public static func limitMaxPitch( _ maxPitch: Double ) -> MTPitchLimitHelperParameters
maxPitchThe maximum pitch of the map (0-85).
-
Returns pitch limit object with the given min pitch.
Declaration
Swift
public static func limitMinPitch( _ minPitch: Double ) -> MTPitchLimitHelperParameters
minPitchThe minimum pitch of the map (0-85).
-
Returns a Boolean indicating whether the pitch limit object is equal to the receiver.
Declaration
Swift
public func isEqualToPitchLimitHelper(_ pitchLimit: MTPitchLimitHelper) -> BoolParameters
pitchLimitMTPitchLimitHelper object to compare with.