getCurrentPosition

fun getCurrentPosition(successCallback: PositionCallback, errorCallback: PositionErrorCallback? = definedExternally, options: PositionOptions = definedExternally)(source)

MDN Reference