maps-utils-v3-ktx / com.google.maps.android.ktx.utils / com.google.android.libraries.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.