MSFVectorTileFeatureCollection

Objective-C


@interface MSFVectorTileFeatureCollection : MSFFeatureCollection

Swift

class MSFVectorTileFeatureCollection : MSFFeatureCollection

A collection of vector tile features.

  • Constructs a VectorTileFeatureCollection from a vector of vector tile features.

    Declaration

    Objective-C

    - (id)initWithFeatures:(MSFVectorTileFeatureVector *)features;

    Swift

    init!(features: MSFVectorTileFeatureVector!)

    Parameters

    features

    The features for the collection.

  • Returns the feature at the specified index. Index must be between 0 and getFeatureCount (exclusive).

    Declaration

    Objective-C

    - (MSFVectorTileFeature *)getFeature:(int)index;

    Swift

    func getFeature(_ index: Int32) -> MSFVectorTileFeature!

    Return Value

    The feature at specified index. @throws NSException If the index is out of range.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()