MMKGeometry
@interface 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
+ (nonnull MMKGeometry *)geometryWithPoint:(nonnull MMKPoint *)point; |
+ (nonnull MMKGeometry *)geometryWithPolyline:(nonnull MMKPolyline *)polyline; |
+ (nonnull MMKGeometry *)geometryWithPolygon:(nonnull MMKPolygon *)polygon; |
+ (nonnull MMKGeometry *)geometryWithMultiPolygon:(nonnull MMKMultiPolygon *)multiPolygon; |
+ (nonnull MMKGeometry *)geometryWithBoundingBox:(nonnull MMKBoundingBox *)boundingBox; |
+ (nonnull MMKGeometry *)geometryWithCircle:(nonnull MMKCircle *)circle; |
Properties
@property (nonatomic, readonly, nullable) MMKPolyline *polyline |
@property (nonatomic, readonly, nullable) MMKPolygon *polygon |
@property (nonatomic, readonly, nullable) MMKMultiPolygon *multiPolygon |
@property (nonatomic, readonly, nullable) MMKBoundingBox *boundingBox |
Class methods
geometryWithPoint:
+ (nonnull MMKGeometry *)geometryWithPoint:(nonnull MMKPoint *)point; |
geometryWithPolyline:
+ (nonnull MMKGeometry *)geometryWithPolyline:(nonnull MMKPolyline *)polyline; |
geometryWithPolygon:
+ (nonnull MMKGeometry *)geometryWithPolygon:(nonnull MMKPolygon *)polygon; |
geometryWithMultiPolygon:
+ (nonnull MMKGeometry *)geometryWithMultiPolygon:(nonnull MMKMultiPolygon *)multiPolygon; |
geometryWithBoundingBox:
+ (nonnull MMKGeometry *)geometryWithBoundingBox:(nonnull MMKBoundingBox *)boundingBox; |
geometryWithCircle:
+ (nonnull MMKGeometry *)geometryWithCircle:(nonnull MMKCircle *)circle; |
Properties
point
@property (nonatomic, readonly, nullable) MMKPoint *point |
polyline
@property (nonatomic, readonly, nullable) MMKPolyline *polyline |
polygon
@property (nonatomic, readonly, nullable) MMKPolygon *polygon |
multiPolygon
@property (nonatomic, readonly, nullable) MMKMultiPolygon *multiPolygon |
boundingBox
@property (nonatomic, readonly, nullable) MMKBoundingBox *boundingBox |
circle
@property (nonatomic, readonly, nullable) MMKCircle *circle |