primatch-frontend / hooks/useGeolocation / GeolocationState
Interface: GeolocationState¶
Defined in: src/hooks/useGeolocation.ts:10
État du hook de géolocalisation.
Properties¶
coordinates¶
coordinates:
GeoCoordinates|null
Defined in: src/hooks/useGeolocation.ts:12
Coordonnées actuelles (null si non disponible).
error¶
error:
string|null
Defined in: src/hooks/useGeolocation.ts:14
Erreur de géolocalisation (null si OK).
isLoading¶
isLoading:
boolean
Defined in: src/hooks/useGeolocation.ts:16
Chargement en cours.
requestLocation()¶
requestLocation: () =>
void
Defined in: src/hooks/useGeolocation.ts:18
Demander la position manuellement.
Returns¶
void