Skip to content

Releases: FacilMap/Leaflet.DraggableLines

3.0.0

22 Apr 20:50
Compare
Choose a tag to compare
  • 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. Use locateOnLine() (ceiling the returned idx) as a replacement.
  • Change return type of DraggableLinesTempMarker.getRenderPoint().