3.0.0
- Move away from Leaflet.GeometryUtil and use an algorithm that is more optimized for the specific use case of Leaflet.DraggableLines (#6).
- Cache the indexes of the route points and hover marker rather than recalculating them on every mouse move, drastically improving performance for lines with a large number of route points (#6)
Breaking changes:
- Remove
getInsertPosition()
function. UselocateOnLine()
(ceil
ing the returnedidx
) as a replacement. - Change return type of
DraggableLinesTempMarker.getRenderPoint()
.