Checks if the first and last point are close enough to be considered a loop.
Supply if you want the loop detection to account for current zoom
Checks if the first and last point are close enough to be considered a loop.