Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@cdauth cdauth released this 22 Apr 20:50
  • 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().