I'm getting the error:
catch, Error: coordinates must contain numbers
when there are two or more identical coordinates in sequence:
const arr1 = [[1,1], [1,1]]
const x = lineString(arr1)
const y = lineOffset(x, 0.001)
but this works:
const arr1 = [[1,1],[12,12], [1,1]]
const x = lineString(arr1)
const y = lineOffset(x, 0.001)
It isn't mentioned in the docs that it's not ok to have identical points...
I'm getting the error:
when there are two or more identical coordinates in sequence:
but this works:
It isn't mentioned in the docs that it's not ok to have identical points...