MMKGeoObjectCollection

@interface MMKGeoObjectCollection : NSObject

A collection of geo objects. Allows you to group geo objects for adding them to the map, setting options, etc. Collections are geo objects too.

Summary

Class methods

+ (nonnull MMKGeoObjectCollection *)geoObjectCollectionWithBoundingBox:(nullable MMKBoundingBox *)boundingBox
                                                     metadataContainer:(nonnull MRTTypeDictionary<id<MMKBaseMetadata>> *)metadataContainer
                                                              children:(nonnull NSArray<MMKGeoObjectCollectionItem *> *)children;

Properties

@property (nonatomic, readonly, nullable) MMKBoundingBox *boundingBox;
The bounds around the collection of objects

@property (nonatomic, readonly, nonnull)
    MRTTypeDictionary<id<MMKBaseMetadata>> *metadataContainer;

The metadata for the objects

@property (nonatomic, readonly, nonnull)
    NSArray<MMKGeoObjectCollectionItem *> *children;

Undocumented

Class methods

geoObjectCollectionWithBoundingBox:metadataContainer:children:

+ (nonnull MMKGeoObjectCollection *)geoObjectCollectionWithBoundingBox:(nullable MMKBoundingBox *)boundingBox
                                                     metadataContainer:(nonnull MRTTypeDictionary<id<MMKBaseMetadata>> *)metadataContainer
                                                              children:(nonnull NSArray<MMKGeoObjectCollectionItem *> *)children;


Properties

boundingBox

@property (nonatomic, readonly, nullable) MMKBoundingBox *boundingBox;

The bounds around the collection of objects.

Optional field, can be nil.


metadataContainer

@property (nonatomic, readonly, nonnull)
    MRTTypeDictionary<id<MMKBaseMetadata>> *metadataContainer;

The metadata for the objects.


children

@property (nonatomic, readonly, nonnull)
    NSArray<MMKGeoObjectCollectionItem *> *children;

Undocumented