Projection.
Hashable
public static func == (lhs: Projection, rhs: Projection) -> Bool
Returns a Boolean value indicating whether two values are equal.
public func hash(into hasher: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
hasher
Hasher
The hasher to use when combining the components of this instance.
public func screenToMap( point: ScreenPoint ) -> GeoPoint?
Calculate the map point at a specified point on the screen.
point
ScreenPoint
GeoPoint?
public func mapToScreen( point: GeoPoint ) -> ScreenPoint?
Calculate a screen point that corresponds to the specified map point.
GeoPoint
ScreenPoint?
public func mapToScreen( point: GeoPointWithElevation ) -> ScreenPoint?
Calculate a screen point corresponding to a specified point on the map with elevation.
GeoPointWithElevation
public func screenToMapClipped( point: ScreenPoint ) -> GeoPoint
Calculate the map point closest to the projection of the specified screen point.