MSFGeometryType

Objective-C

enum MSFGeometryType : NSInteger {}

Swift

enum MSFGeometryType : Int, @unchecked Sendable

Geometry type, following the GeoJSON names.

  • A single position.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_POINT

    Swift

    case GEOMETRY_TYPE_POINT = 0
  • An ordered list of positions.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_LINE

    Swift

    case GEOMETRY_TYPE_LINE = 1
  • An outer ring and any number of holes.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_POLYGON

    Swift

    case GEOMETRY_TYPE_POLYGON = 2
  • Several points.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_MULTIPOINT

    Swift

    case GEOMETRY_TYPE_MULTIPOINT = 3
  • Several lines.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_MULTILINE

    Swift

    case GEOMETRY_TYPE_MULTILINE = 4
  • Several polygons.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_MULTIPOLYGON

    Swift

    case GEOMETRY_TYPE_MULTIPOLYGON = 5
  • A mixed collection.

    Declaration

    Objective-C

    MSF_GEOMETRY_TYPE_COLLECTION

    Swift

    case GEOMETRY_TYPE_COLLECTION = 6