GeoJSON

struct GeoJSON : Codable

MTP world/UN country GeoJSON file definition

  • A CLLocationDegrees rectangle

    Declaration

    Swift

    typealias Bounds = (west: CLLocationDegrees, north: CLLocationDegrees, east: CLLocationDegrees, south: CLLocationDegrees)
  • Point list for a Polygon

    Declaration

    Swift

    typealias Polygon = [[CLLocationCoordinate2D]]
  • Point list for a MultiPolygon

    Declaration

    Swift

    typealias MultiPolygon = [Polygon]
  • A path which is part of a location

    See more

    Declaration

    Swift

    struct Feature : Codable

Helpers