TTGeoJSONMultiPoint

@interface TTGeoJSONMultiPoint : TTGeoJSONObject

A collection of points containing Position

  • Creates an instance of MultiPoint with provided bounding box and points.

    Declaration

    Objective-C

    - (instancetype _Nonnull)
        initWithArrayOfPosition:(NSArray<TTGeoJSONPosition *> *_Nonnull)positions
                withBoundingBox:(TTBoundingBox *_Nullable)boundingBox;

    Swift

    init(arrayOfPosition positions: [TTGeoJSONPosition], with boundingBox: TTBoundingBox?)

    Parameters

    positions

    points the points that constitute this MultiPoint

    boundingBox

    boundingBox a bounding box encompassing this MultiPoint

    Return Value

    TTGeoJSONMultiPoint

  • Array of TTGeoJSONPosition objects.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly)
        NSArray<TTGeoJSONPosition *> *_Nonnull points;

    Swift

    var points: [TTGeoJSONPosition] { get }