code: public boolean isCloseTo(GeoPoint point, double tolerance, MapView mapView) {
          return getCloseTo(point, tolerance, mapView) != null;
      }
docs: Detection is done is screen coordinates.
  
  @param point
  @param tolerance in pixels
  @return true if the Polyline is close enough to the point.