MMKGeoObjectCollection

class 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

 init(boundingBox: MMKBoundingBox?,
 metadataContainer: MRTTypeDictionary<MMKBaseMetadata>,
         children: [MMKGeoObjectCollectionItem])

Properties

var boundingBoxMMKBoundingBox? { get }
The bounds around the collection of objects

var metadataContainer: MRTTypeDictionary<MMKBaseMetadata> { get }
The metadata for the objects

var children: [MMKGeoObjectCollectionItem] { get }
Undocumented

Class methods

init(boundingBox:metadataContainer:children:)

 init(boundingBox: MMKBoundingBox?,
 metadataContainer: MRTTypeDictionary<MMKBaseMetadata>,
         children: [MMKGeoObjectCollectionItem])


Properties

boundingBox

var boundingBox: MMKBoundingBox? { get }

The bounds around the collection of objects.

Optional field, can be nil.


metadataContainer

var metadataContainer: MRTTypeDictionary<MMKBaseMetadata> { get }

The metadata for the objects.


children

var children: [MMKGeoObjectCollectionItem] { get }

Undocumented