Type Alias TBlueDotEvents
TBlueDotEvents: { error: GeolocationPositionError; follow-change: { following: boolean; mode?: TFollowMode; }; position-update: { accuracy: GeolocationPosition["coords"]["accuracy"] | undefined; coordinate: Coordinate; floor: Floor | undefined; heading: GeolocationPosition["coords"]["heading"] | undefined; }; state-change: { action: TBlueDotAction; state: TBlueDotState; }; } Type declaration
error: GeolocationPositionError
follow-change: {
following: boolean;
mode?: TFollowMode;
}
position-update: {
accuracy: GeolocationPosition["coords"]["accuracy"] | undefined;
coordinate: Coordinate;
floor: Floor | undefined;
heading: GeolocationPosition["coords"]["heading"] | undefined;
}
accuracy: GeolocationPosition["coords"]["accuracy"] | undefined
floor: Floor | undefined
heading: GeolocationPosition["coords"]["heading"] | undefined
Emitted when the Blue Dot encounters an error.