ModelScaleMode
public struct ModelScaleMode : RawRepresentable, Codable, Hashable
Defines scaling mode. Only applies to location-indicator type layers.
-
Declaration
Swift
public let rawValue: String
-
Declaration
Swift
public init(rawValue: String)
-
Model is scaled so that it’s always the same size relative to other map features. The property model-scale specifies how many meters each unit in the model file should cover.
Declaration
Swift
public static let map: ModelScaleMode
-
Model is scaled so that it’s always the same size on the screen. The property model-scale specifies how many pixels each unit in model file should cover.
Declaration
Swift
public static let viewport: ModelScaleMode