YMKGeoObjectCollection

class YMKGeoObjectCollection : 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: YMKBoundingBox?,
 metadataContainer: YRTTypeDictionary<YMKBaseMetadata>,
         children: [YMKGeoObjectCollectionItem])

Properties

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

var metadataContainer: YRTTypeDictionary<YMKBaseMetadata> { get }
The metadata for the objects

var children: [YMKGeoObjectCollectionItem] { get }
Undocumented

Class methods

init(boundingBox:metadataContainer:children:)

 init(boundingBox: YMKBoundingBox?,
 metadataContainer: YRTTypeDictionary<YMKBaseMetadata>,
         children: [YMKGeoObjectCollectionItem])


Properties

boundingBox

var boundingBox: YMKBoundingBox? { get }

The bounds around the collection of objects.

Optional field, can be nil.


metadataContainer

var metadataContainer: YRTTypeDictionary<YMKBaseMetadata> { get }

The metadata for the objects.


children

var children: [YMKGeoObjectCollectionItem] { get }

Undocumented


Предыдущая
Следующая