BrowserGeolocator

fun BrowserGeolocator(dispatcher: CoroutineDispatcher = Dispatchers.Default): Geolocator

Create a new Geolocator that uses the BrowserLocator for geolocation operations.

MDN documentation

Return

A new Geolocator instance.

Parameters

dispatcher

The CoroutineDispatcher to use for geolocation operations.