maps-utils-ktx / com.google.maps.android.ktx.utils / com.google.android.gms.maps.model.Polyline / contains

contains

fun Polyline.contains(latLng: LatLng, tolerance: Double = 0.1): Boolean

Computes where the given latLng is contained on or near this Polyline within a specified tolerance in meters.