Skip to content

spatial-monorepo


spatial-monorepo / core/src / createGPSBlueDotPlugin

Function: createGPSBlueDotPlugin()

createGPSBlueDotPlugin(options?): SpatialPlugin

Defined in: packages/core/src/plugins/GPSBlueDotPlugin.ts:87

Parameters

options?

GPSBlueDotPluginOptions = {}

Returns

SpatialPlugin

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.

Released under commercial licensing.