pub fn use_geolocation_with_options<'hook>(
options: UseGeolocationOptions,
) -> impl 'hook + Hook<Output = UseGeolocationState>
Expand description
A sensor hook that tracks user’s geographic location.
See use_geolocation
§Note
When used in function components and hooks, this hook is equivalent to:
pub fn use_geolocation_with_options(
options: UseGeolocationOptions,
) -> UseGeolocationState {
/* implementation omitted */
}