GeoPoint | iOS SDK | 2GIS Documentation
iOS SDK

GeoPoint

A point in a spherical coordinate system that, together with a geodetic coordinate system (e.g., WGS84), points to a point on the Earth's surface. This structure is not bound to a specific geodetic coordinate system. But this module contains free functions that operate with this structure already in a specific coordinate system (see the documentation to the functions).

public init(
    latitude: Latitude,
    longitude: Longitude
)
Parameters
latitude
longitude
init(latitude: CLLocationDegrees, longitude: CLLocationDegrees)
Parameters
init(coordinate: CLLocationCoordinate2D)
Parameters
Methods
Properties