browser

fun Geolocator.Companion.browser(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.