findRegionsAroundPosition

abstract fun findRegionsAroundPosition(position: GeoPoint, radius: Distance, callback: RegionQueryCallback): Cancellable

Finds regions around a geographic position.

This searches for all regions that contain or are near the specified position within the given radius.

Return

A Cancellable handle. Call Cancellable.cancel to cancel the operation.

Parameters

position

The geographic position to search around.

radius

The search radius.

callback

Called with the result when available. Invoked on the main thread.

Throws

if NdsStore or RegionUpdater is closed.