contains method

bool contains(
  1. ILatLong latLong
)

Returns true if the path contains the given latLong.

Implementation

bool contains(ILatLong latLong) {
  if (_boundingBox != null && !_boundingBox!.containsLatLong(latLong)) {
    return false;
  }
  return LatLongUtils.contains(_path, latLong);
}