Geolocation
Accessors
Since v1.0.0 Source
Signature
declare function watchPosition(options?: PositionOptions & { readonly bufferSize?: number;}): Stream<GeolocationPosition, GeolocationError, Geolocation>Errors
Since v1.0.0 Source
Signature
declare class GeolocationError extends any { constructor(); message: any;}Layers
Models
Geolocation
interface Since v1.0.0 Source
Signature
interface Geolocation { readonly [TypeId]: typeof TypeId; readonly getCurrentPosition: (options?: PositionOptions) => Effect<GeolocationPosition, GeolocationError>; readonly watchPosition: (options?: PositionOptions & { readonly bufferSize?: number; }) => Stream<GeolocationPosition, GeolocationError>;}Type Ids
Since v1.0.0 Source
Signature
declare const ErrorTypeId: unique symbolErrorTypeId
type Since v1.0.0 Source
Signature
type ErrorTypeId = typeof ErrorTypeIdSignature
declare const TypeId: unique symbolSignature
type TypeId = typeof TypeId