geolocation

import { geolocation } from '@hullo/browser'

Thin adapter for navigator.geolocation for Hullo.

import { geolocation } from '@hullo/browser';
geolocation().subscribe({
next(result) {
switch (result.ok) {
case true:
console.log(result.position);
break;
case false:
console.error('error!');
break;
}
}
});