findRegionsAlongPolyline
abstract fun findRegionsAlongPolyline(polyline: List<GeoPoint>, radius: Distance, callback: RegionQueryCallback): Cancellable
Finds regions along a polyline.
This searches for all regions that intersect with the specified polyline.
Return
A Cancellable handle. Call Cancellable.cancel to cancel the operation.
Parameters
polyline
The route points defining the polyline.
radius
Distance from the polyline (or half-width of the corridor) within which search is performed.
callback
Called with the result when available. Invoked on the main thread.
Throws
if NdsStore or RegionUpdater is closed.
if polyline has fewer than 2 points.