MMKGeoObject

@interface MMKGeoObject : NSObject

Geo object. Can be displayed as a placemark, polyline, polygon, and other, depending on the geometry type.

Summary

Class methods

+ (nonnull MMKGeoObject *)geoObjectWithName:(nullable NSString *)name
                            descriptionText:(nullable NSString *)descriptionText
                                   geometry:(nonnull NSArray<MMKGeometry *> *)geometry
                                boundingBox:(nullable MMKBoundingBox *)boundingBox
                             attributionMap:(nonnull NSDictionary<NSString *, MMKAttribution *> *)attributionMap
                          metadataContainer:(nonnull MRTTypeDictionary<id<MMKBaseMetadata>> *)metadataContainer
                                       aref:(nonnull NSArray<NSString *> *)aref;

Properties

@property (nonatomic, readonly, nullable) NSString *name;
Object name

@property (nonatomic, readonly, nullable) NSString *descriptionText;
The description of the object

@property (nonatomic, readonly, nonnull) NSArray<MMKGeometry *> *geometry;
The object's geometry

@property (nonatomic, readonly, nullable) MMKBoundingBox *boundingBox;
A rectangular box around the object

@property (nonatomic, readonly, nonnull)
    NSDictionary<NSString *, MMKAttribution *> *attributionMap;

The attribution of information to a specific author

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

The object's metadata

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *aref;
The name of the internet resource

Class methods

geoObjectWithName:descriptionText:geometry:boundingBox:attributionMap:metadataContainer:aref:

+ (nonnull MMKGeoObject *)geoObjectWithName:(nullable NSString *)name
                            descriptionText:(nullable NSString *)descriptionText
                                   geometry:(nonnull NSArray<MMKGeometry *> *)geometry
                                boundingBox:(nullable MMKBoundingBox *)boundingBox
                             attributionMap:(nonnull NSDictionary<NSString *, MMKAttribution *> *)attributionMap
                          metadataContainer:(nonnull MRTTypeDictionary<id<MMKBaseMetadata>> *)metadataContainer
                                       aref:(nonnull NSArray<NSString *> *)aref;


Properties

name

@property (nonatomic, readonly, nullable) NSString *name;

Object name.

Optional field, can be nil.


descriptionText

@property (nonatomic, readonly, nullable) NSString *descriptionText;

The description of the object.

Optional field, can be nil.


geometry

@property (nonatomic, readonly, nonnull) NSArray<MMKGeometry *> *geometry;

The object's geometry.


boundingBox

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

A rectangular box around the object.

Optional field, can be nil.


attributionMap

@property (nonatomic, readonly, nonnull)
    NSDictionary<NSString *, MMKAttribution *> *attributionMap;

The attribution of information to a specific author.


metadataContainer

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

The object's metadata.


aref

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *aref;

The name of the internet resource.