MMKCircleMapObject

@interface MMKCircleMapObject : MMKMapObject

The circle element.

Summary

Properties

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    MMKCircle *geometry;

Undocumented

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *strokeColor;

Sets the stroke color

@property (nonatomic, assign, unsafe_unretained, readwrite) float strokeWidth;
Sets the stroke width in units

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *fillColor;

Sets the fill color

@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isGeodesic)
    BOOL geodesic;

The object's geometry can be interpreted in two different ways: <ul><li>If the object mode is 'geodesic', the object's geometry is defined on a sphere

Properties

geometry

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    MMKCircle *geometry;

Undocumented


strokeColor

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *strokeColor;

Sets the stroke color. Setting the stroke color to any transparent color (for example, RGBA code 0x00000000) effectively disables the stroke. default: 0x0066FFFF


strokeWidth

@property (nonatomic, assign, unsafe_unretained, readwrite) float strokeWidth;

Sets the stroke width in units. The size of a unit is equal to the size of a pixel at the current zoom level when the camera position's tilt is equal to 0 and the scale factor is equal to 1. default: 5


fillColor

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *fillColor;

Sets the fill color. default: 0x0066FF99


geodesic

@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isGeodesic)
    BOOL geodesic;

The object's geometry can be interpreted in two different ways:

  • If the object mode is 'geodesic', the object's geometry is defined on a sphere.
  • Otherwise, the object's geometry is defined in projected space.
Default: false.