Geolocation
Accessors
watchPosition
Added in v1.0.0
Source
Signature
declare function watchPosition(options?: PositionOptions & { readonly bufferSize?: number;}): Stream<GeolocationPosition, GeolocationError, Geolocation>Errors
GeolocationError
Added in v1.0.0
Source
Signature
declare class GeolocationError extends any { constructor(); message: any;}Layers
Models
Geolocation interface
Added in 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
ErrorTypeId
Added in v1.0.0
Source
Signature
declare const ErrorTypeId: unique symbolErrorTypeId type
Added in v1.0.0
Source
Signature
type ErrorTypeId = typeof ErrorTypeIdSignature
declare const TypeId: unique symbolSignature
type TypeId = typeof TypeId