YMKGeoObject

@interface YMKGeoObject : NSObject

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

Summary

Class methods

+ (nonnull YMKGeoObject *)geoObjectWithName:(nullable NSString *)name
                            descriptionText:(nullable NSString *)descriptionText
                                   geometry:(nonnull NSArray<YMKGeometry *> *)geometry
                                boundingBox:(nullable YMKBoundingBox *)boundingBox
                             attributionMap:(nonnull NSDictionary<NSString *, YMKAttribution *> *)attributionMap
                          metadataContainer:(nonnull YRTTypeDictionary<id<YMKBaseMetadata>> *)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<YMKGeometry *> *geometry;
The object's geometry

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

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

The attribution of information to a specific author

@property (nonatomic, readonly, nonnull)
    YRTTypeDictionary<id<YMKBaseMetadata>> *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 YMKGeoObject *)geoObjectWithName:(nullable NSString *)name
                            descriptionText:(nullable NSString *)descriptionText
                                   geometry:(nonnull NSArray<YMKGeometry *> *)geometry
                                boundingBox:(nullable YMKBoundingBox *)boundingBox
                             attributionMap:(nonnull NSDictionary<NSString *, YMKAttribution *> *)attributionMap
                          metadataContainer:(nonnull YRTTypeDictionary<id<YMKBaseMetadata>> *)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<YMKGeometry *> *geometry;

The object's geometry.


boundingBox

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

A rectangular box around the object.

Optional field, can be nil.


attributionMap

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

The attribution of information to a specific author.


metadataContainer

@property (nonatomic, readonly, nonnull)
    YRTTypeDictionary<id<YMKBaseMetadata>> *metadataContainer;

The object's metadata.


aref

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

The name of the internet resource.


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