Class YMKCircleMapObject

The circle element.

Properties

fillColor

Sets the fill color.

geodesic

The object's geometry can be interpreted in two different ways: 1) If the object mode is 'geodesic', the object's geometry is defined on a sphere.

geometry

A runtime::RuntimeError exception is thrown if a latitude of at least one point in the geometry is out of bounds [-89.3; 89.3].

strokeColor

Sets the stroke color.

strokeWidth

Sets the stroke width in units.

Property Detail

fillColor

(assign, readwrite) UIColor * fillColor

Sets the fill color.

geodesic

(assign, readwrite, getter=isGeodesic) BOOL geodesic

The object's geometry can be interpreted in two different ways: 1) If the object mode is 'geodesic', the object's geometry is defined on a sphere.

2) Otherwise, the object's geometry is defined in projected space. Default: false.

geometry

(assign, readwrite) YMKCircle * geometry

A runtime::RuntimeError exception is thrown if a latitude of at least one point in the geometry is out of bounds [-89.3; 89.3].

strokeColor

(assign, readwrite) UIColor * strokeColor

Sets the stroke color.

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

strokeWidth

(assign, 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.