TTGeoJSONPosition

@interface 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 (readonly, assign, nonatomic) CLLocationCoordinate2D coordinate;

    Swift

    var coordinate: CLLocationCoordinate2D { get }