Structures
The following structures are available globally.
-
A bounding box indicates the extremes of a
See moreGeoJSONObject
along the x- and y-axes (longitude and latitude, respectively).Declaration
Swift
public struct BoundingBox
extension BoundingBox: Hashable
extension BoundingBox: Codable
-
A geographic coordinate with its components measured in degrees.
See more -
A Feature object represents a spatially bounded thing.
See moreDeclaration
Swift
public struct Feature : Equatable, ForeignMemberContainer
extension Feature: Codable
extension Feature: GeoJSONObjectConvertible
-
A FeatureCollection object is a collection of Feature objects.
See moreDeclaration
Swift
public struct FeatureCollection : Equatable, ForeignMemberContainer
extension FeatureCollection: Codable
extension FeatureCollection: GeoJSONObjectConvertible
-
A GeometryCollection geometry is a heterogeneous collection of
See moreGeometry
objects that are related.Declaration
Swift
public struct GeometryCollection : Equatable, ForeignMemberContainer
extension GeometryCollection: Codable
extension GeometryCollection: GeometryConvertible
-
A LineString geometry is a collection of two or more positions, each position connected to the next position linearly.
See moreDeclaration
Swift
public struct LineString : Equatable, ForeignMemberContainer
extension LineString: Codable
extension LineString: GeometryConvertible
-
A MultiLineString geometry is a collection of
See moreLineString
geometries that are disconnected but related.Declaration
Swift
public struct MultiLineString : Equatable, ForeignMemberContainer
extension MultiLineString: Codable
extension MultiLineString: GeometryConvertible
-
A MultiPoint geometry represents a collection of disconnected but related positions.
See moreDeclaration
Swift
public struct MultiPoint : Equatable, ForeignMemberContainer
extension MultiPoint: Codable
extension MultiPoint: GeometryConvertible
-
A MultiPolygon geometry is a collection of
See morePolygon
geometries that are disconnected but related.Declaration
Swift
public struct MultiPolygon : Equatable, ForeignMemberContainer
extension MultiPolygon: Codable
extension MultiPolygon: GeometryConvertible
-
A Point geometry represents a single position.
See moreDeclaration
Swift
public struct Point : Equatable, ForeignMemberContainer
extension Point: Codable
extension Point: GeometryConvertible
-
A Polygon geometry is conceptually a collection of
See moreRing
s that form a single connected geometry.Declaration
Swift
public struct Polygon : Equatable, ForeignMemberContainer
extension Polygon: Codable
extension Polygon: GeometryConvertible
-
A coordinate pair measured in radians, as opposed to
See moreLocationCoordinate2D
, which is measured in degrees of arc.Declaration
Swift
public struct RadianCoordinate2D
-
A linear ring is a closed figure bounded by three or more straight line segments.
See moreDeclaration
Swift
public struct Ring
extension Ring: Codable