TTGeoJSONPosition

Objective-C

@interface TTGeoJSONPosition : TTGeoJSONObject

Swift

class TTGeoJSONPosition : TTGeoJSONObject

Geometry type comprising a single WGS 84 position.

  • A Geometry type comprising a single WGS 84 position.

    Declaration

    Objective-C

    - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
                       withBoundingBox:(TTBoundingBox *)boudingBox;

    Swift

    init!(coordinate: CLLocationCoordinate2D, with boudingBox: TTBoundingBox!)

    Parameters

    coordinate

    coordinate

    boudingBox

    boudingBox

    Return Value

    TTGeoJSONPosition

  • A Geometry type comprising a single WGS 84 position.

    Declaration

    Objective-C

    - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate;

    Swift

    init!(coordinate: CLLocationCoordinate2D)

    Parameters

    coordinate

    coordinate

    Return Value

    TTGeoJSONPosition

  • Position represented by the coordinates CLLocationCoordinate2D.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;

    Swift

    var coordinate: CLLocationCoordinate2D { get }