fun List<LatLng>.isOnEdge(latLng: LatLng, geodesic: Boolean, tolerance: Double = 0.1): Boolean
Checks whether or not latLng lies on or is near the edge of this polygon within the tolerance (in meters). The default value is PolyUtil.DEFAULT_TOLERANCE.
latLng
- the LatLng to inspect
geodesic
- if this polygon is geodesic or not
tolerance
- the tolerance in meters
Return
true if latLng lies on or is near the edge of this Polygon, otherwise, false
See Also