findRegionsAlongPolyline
fun findRegionsAlongPolyline(polyline: List<GeoPoint>, radius: Distance, callback: Callback<RegionsAlongPolyline, MapUpdateError>): Cancellable
Finds the updatable regions along a polyline within a half-corridor width radius.
If Cancellable.cancel is called on the returned object, the callback is not called with MapUpdateError.Canceled.
Return
The Cancellable operation.
Parameters
polyline
A list of GeoPoint that define the polyline on the map.
radius
Distance from the polyline (or half-width of the corridor) within which search is performed.
callback
Invoked when the operation has been finished either successfully or with an error. The callback is called in main thread.