MapKit Mobile SDK

MMKGeoObject

class MMKGeoObject : 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: [MMKGeometry],
 boundingBox: MMKBoundingBox?,
 attributionMap: [String : MMKAttribution],
 metadataContainer: MRTTypeDictionary<MMKBaseMetadata>,
      aref: [String])

Properties

var name: String? { get }
Object name

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

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

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

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

var metadataContainer: MRTTypeDictionary<MMKBaseMetadata> { 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: [MMKGeometry],
 boundingBox: MMKBoundingBox?,
 attributionMap: [String : MMKAttribution],
 metadataContainer: MRTTypeDictionary<MMKBaseMetadata>,
      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: [MMKGeometry] { get }

The object's geometry.


boundingBox

var boundingBox: MMKBoundingBox? { get }

A rectangular box around the object.

Optional field, can be nil.


attributionMap

var attributionMap: [String : MMKAttribution] { get }

The attribution of information to a specific author.


metadataContainer

var metadataContainer: MRTTypeDictionary<MMKBaseMetadata> { get }

The object's metadata.


aref

var aref: [String] { get }

The name of the internet resource.