MapProjection
@_spi(Experimental)
public enum MapProjection : Codable, Hashable
Describes the projection used to render the map.
Mapbox map supports Mercator and Globe projections.
-
Undocumented
Declaration
Swift
case mercator(_: MercatorMapProjection = MercatorMapProjection()) -
Undocumented
Declaration
Swift
case globe(_: GlobeMapProjection = GlobeMapProjection()) -
Name of the wrapped projection
Declaration
Swift
public var name: String { get } -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public init(from decoder: Decoder) throws
MapProjection Enumeration Reference