- Bugfix: Properly remove map event handlers when disabling
DraggableLinesHandler
- Allow more control by specifying a layer, an array of layers or a callback as
allowExtendingLine
andremoveOnClick
options (equivalent toenableForLayer
) - Introduce
allowDraggingLine
option to control the insertion of new waypoints through hovering or clicking the line (#9)