martinez icon indicating copy to clipboard operation
martinez copied to clipboard

Difference fails on shared edge case

Open w8r opened this issue 6 years ago • 0 comments

const polygon1 = {
    'type': 'Polygon',
    'coordinates': [
      [[ 10, 10 ], [ 80, 10 ], [ 80, 80 ], [ 10, 80 ], [ 10, 10 ]]
    ]
  };

  const polygon2 = {
    'type': 'Polygon',
    'coordinates': [
      [[ 20, 10 ], [ 30, 10 ], [ 30, 80 ], [ 20, 80 ], [ 20, 10 ]]
    ]
  };

https://codepen.io/w8r/pen/NMQZMq

w8r avatar May 27 '18 21:05 w8r