isClosedWay static method
Find if this way is closed.
@return true if this way is closed, false otherwise.
Implementation
static bool isClosedWay(List<ILatLong> latLongs) {
if (latLongs.length < 3) return false;
return isNear(latLongs.first, latLongs.last);
}