Class YMKGeoObjectCollection

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.

Class Methods

Properties

boundingBox

The bounds around the collection of objects.

children
metadataContainer

The metadata for the objects.

boundingBox

The bounds around the collection of objects.

children
metadataContainer

The metadata for the objects.

Method Detail

+geoObjectCollectionWithBoundingBox:metadataContainer:children:

+ (nonnull YMKGeoObjectCollection *)geoObjectCollectionWithBoundingBox:(nullable YMKBoundingBox *)boundingBox
                                                     metadataContainer:(nonnull YRTCollection *)metadataContainer
                                                              children:(nonnull NSArray< YMKGeoObjectCollectionItem * > *)children 

Property Detail

boundingBox

(assign, readonly) YMKBoundingBox * boundingBox

The bounds around the collection of objects.

Optional property, can be null.

children

(assign, readonly) NSArray< YMKGeoObjectCollectionItem * > * children

metadataContainer

(assign, readonly) YRTCollection * metadataContainer

The metadata for the objects.