Center
public struct Center : Encodable
Undocumented
-
Sets the longitude of the map’s center.
By default, the map’s longitude center lies at the middle of the longitude range for scoped projection and above
projection.rotation.lonotherwise.Declaration
Swift
public var longitude: Double? -
Sets the latitude of the map’s center.
For all projection types, the map’s latitude center lies at the middle of the latitude range by default.
Declaration
Swift
public var latitude: Double? -
Creates
Centerobject with specified properties.Declaration
Swift
public init(longitude: Double? = nil, latitude: Double? = nil)Parameters
longitudeSets the longitude of the map’s center.
latitudeSets the latitude of the map’s center.
View on GitHub
Install in Dash
Center Structure Reference