spatial-monorepo / core/src / createGPSBlueDotPlugin
Function: createGPSBlueDotPlugin()
createGPSBlueDotPlugin(
options?):SpatialPlugin
Defined in: packages/core/src/plugins/GPSBlueDotPlugin.ts:87
Parameters
options?
Returns
Deprecated
Use GeolocationAdapter from @diginestai/rtls directly.
ts
import { GeolocationAdapter } from '@diginestai/rtls';
const adapter = new GeolocationAdapter('self');
await adapter.connect();
adapter.subscribe((update) => console.log(update.latitude, update.longitude));createGPSBlueDotPlugin will be removed in a future major version. It now delegates geolocation watching internally to GeolocationAdapter.
