YMKGeoObject

class YMKGeoObject : NSObject

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

Summary

Class methods

 init(name: String?,
 descriptionText: String?,
  geometry: [YMKGeometry],
 boundingBox: YMKBoundingBox?,
 attributionMap: [String : YMKAttribution],
 metadataContainer: YRTTypeDictionary<YMKBaseMetadata>,
      aref: [String])

Properties

var name: String? { get }
Object name

var descriptionText: String? { get }
The description of the object

var geometry: [YMKGeometry] { get }
The object's geometry

var boundingBoxYMKBoundingBox? { get }
A rectangular box around the object

var attributionMap: [String : YMKAttribution] { get }
The attribution of information to a specific author

var metadataContainer: YRTTypeDictionary<YMKBaseMetadata> { get }
The object's metadata

var aref: [String] { get }
The name of the internet resource

Class methods

init(name:descriptionText:geometry:boundingBox:attributionMap:metadataContainer:aref:)

 init(name: String?,
 descriptionText: String?,
  geometry: [YMKGeometry],
 boundingBox: YMKBoundingBox?,
 attributionMap: [String : YMKAttribution],
 metadataContainer: YRTTypeDictionary<YMKBaseMetadata>,
      aref: [String])


Properties

name

var name: String? { get }

Object name.

Optional field, can be nil.


descriptionText

var descriptionText: String? { get }

The description of the object.

Optional field, can be nil.


geometry

var geometry: [YMKGeometry] { get }

The object's geometry.


boundingBox

var boundingBox: YMKBoundingBox? { get }

A rectangular box around the object.

Optional field, can be nil.


attributionMap

var attributionMap: [String : YMKAttribution] { get }

The attribution of information to a specific author.


metadataContainer

var metadataContainer: YRTTypeDictionary<YMKBaseMetadata> { get }

The object's metadata.


aref

var aref: [String] { get }

The name of the internet resource.


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