ducjs - v4.4.2
    Preparing search index...

    Function isPathALoop

    • Checks if the first and last point are close enough to be considered a loop.

      Parameters

      • points: readonly DucPoint[]
      • zoomValue: number = 1

        Supply if you want the loop detection to account for current zoom

      Returns boolean