class

DrawPolylineTool

implements ITool

Polyline drawing tool. Click to add vertices, double-click to finish.

Constructor

new DrawPolylineTool(options: DrawPolylineToolOptions)
Parameter Type Description
options DrawPolylineToolOptions required Tool configuration

DrawPolylineToolOptions

Field Type Description
targetLayer ITargetLayer required Layer to add drawn features to

Properties

Name Type Access Description
id 'draw-polyline' readonly Tool ID
name 'Draw Polyline' readonly Display name