Closed anandthakker closed 4 years ago
Why not swallow the "breaking change" and bump the version number accordingly?
return {x: bestCell.x, y: bestCell.y, distance: bestCell.d};
I have no personal opinion on this question -- attaching distance
to an array, switching to an object, switching to a 3-element array all seem fine to me. I'll leave it to @mourner to state a preference.
This would be a cool feature to have. I'd say the property on the array is fine.
Closing this as stale.
So what about #2? The fix is here, a button press away; someone just needs to own the decision of what format to use.
I would love to see this implemented so that there might be a solution for multiPolygons.
Superceded by #61
Closes #2
@mourner dunno if you actually want this in, but I needed it for something so here ya go