MapKit Mobile SDK

MMKGeometry

class MMKGeometry : NSObject

A container of other geometry objects. Point - A point on the map. Polyline - A polyline between a number of points. Polygon - A polygon with one or more polygons in it. BoundingBox - A rectangular box around the object. Circle - A circle around the specified point.

Summary

Class methods

 init(point: MMKPoint)

 init(polyline: MMKPolyline)

 init(polygon: MMKPolygon)

 init(multiPolygon: MMKMultiPolygon)

 init(boundingBox: MMKBoundingBox)

 init(circle: MMKCircle)

Properties

var pointMMKPoint? { get }

var polylineMMKPolyline? { get }

var polygonMMKPolygon? { get }

var multiPolygonMMKMultiPolygon? { get }

var boundingBoxMMKBoundingBox? { get }

var circleMMKCircle? { get }

Class methods

init(point:)

 init(point: MMKPoint)


init(polyline:)

 init(polyline: MMKPolyline)


init(polygon:)

 init(polygon: MMKPolygon)


init(multiPolygon:)

 init(multiPolygon: MMKMultiPolygon)


init(boundingBox:)

 init(boundingBox: MMKBoundingBox)


init(circle:)

 init(circle: MMKCircle)


Properties

point

var point: MMKPoint? { get }


polyline

var polyline: MMKPolyline? { get }


polygon

var polygon: MMKPolygon? { get }


multiPolygon

var multiPolygon: MMKMultiPolygon? { get }


boundingBox

var boundingBox: MMKBoundingBox? { get }


circle

var circle: MMKCircle? { get }