Class YMKPolylineMapObject

A polyline displayed on the map.

Properties

dashLength

Length of a dash in units.

dashOffset

Offset from the start of the polyline to the reference dash in units.

gapLength

Length of the gap between two dashes in units.

geodesic

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

geometry

Polyline geometry.

outlineColor

Outline color.

outlineWidth

Outline width in units.

strokeColor

Stroke color.

strokeWidth

Stroke width in units.

Property Detail

dashLength

(assign, readwrite) float dashLength

Length of a dash in units.

Default: 0 (dashing is turned off).

dashOffset

(assign, readwrite) float dashOffset

Offset from the start of the polyline to the reference dash in units.

Default: 0.

gapLength

(assign, readwrite) float gapLength

Length of the gap between two dashes in units.

Default: 0 (dashing is turned off).

geodesic

(assign, readwrite, getter=isGeodesic) BOOL geodesic

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

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

geometry

(assign, readwrite) YMKPolyline * geometry

Polyline geometry.

outlineColor

(assign, readwrite) UIColor * outlineColor

Outline color.

Default: hexademical RGBA code 0x00000000. Setting the color to any transparent color (i.e. RGBA code 0x00000000) effectively disables the outline.

outlineWidth

(assign, readwrite) float outlineWidth

Outline width in units.

Default: 0. The size of a unit is equal to the size of a pixel at the current zoom when the camera position's tilt is equal to 0 and the scale factor is equal to 1.

strokeColor

(assign, readwrite) UIColor * strokeColor

Stroke color.

Default: hexademical RGBA code 0x0066FFFF. Setting the stroke color to any transparent color (i.e. RGBA code 0x00000000) effectively disables the stroke.

strokeWidth

(assign, readwrite) float strokeWidth

Stroke width in units.

Default: 5. The size of a unit is equal to the size of a pixel at the current zoom with the camera position's tilt at 0 and a scale factor of 1.