@mappedin/blue-dot 6.0.1-beta.56 → 6.0.1-beta.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/esm/index.js CHANGED
@@ -1,233 +1,10 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
1
+ import {
2
+ BlueDot,
3
+ init_define_process
4
+ } from "./chunk-TPJ6NPMJ.js";
3
5
 
4
- // ../packages/common/pubsub.ts
5
- var PubSub = class {
6
- static {
7
- __name(this, "PubSub");
8
- }
9
- /**
10
- * @private
11
- * @internal
12
- */
13
- _subscribers = {};
14
- /**
15
- * @private
16
- * @internal
17
- */
18
- _destroyed = false;
19
- /**
20
- * @private
21
- * @internal
22
- */
23
- publish(eventName, data) {
24
- if (!this._subscribers || !this._subscribers[eventName] || this._destroyed) {
25
- return;
26
- }
27
- this._subscribers[eventName].forEach(function(fn) {
28
- if (typeof fn !== "function") {
29
- return;
30
- }
31
- fn(data);
32
- });
33
- }
34
- /**
35
- * Subscribe a function to an event.
36
- *
37
- * @param eventName An event name which, when fired, will call the provided
38
- * function.
39
- * @param fn A callback that gets called when the corresponding event is fired. The
40
- * callback will get passed an argument with a type that's one of event payloads.
41
- * @example
42
- * // Subscribe to the 'click' event
43
- * const handler = (event) => {
44
- * const { coordinate } = event;
45
- * const { latitude, longitude } = coordinate;
46
- * console.log(`Map was clicked at ${latitude}, ${longitude}`);
47
- * };
48
- * map.on('click', handler);
49
- */
50
- on(eventName, fn) {
51
- if (!this._subscribers || this._destroyed) {
52
- this._subscribers = {};
53
- }
54
- this._subscribers[eventName] = this._subscribers[eventName] || [];
55
- this._subscribers[eventName].push(fn);
56
- }
57
- /**
58
- * Unsubscribe a function previously subscribed with {@link on}
59
- *
60
- * @param eventName An event name to which the provided function was previously
61
- * subscribed.
62
- * @param fn A function that was previously passed to {@link on}. The function must
63
- * have the same reference as the function that was subscribed.
64
- * @example
65
- * // Unsubscribe from the 'click' event
66
- * const handler = (event) => {
67
- * console.log('Map was clicked', event);
68
- * };
69
- * map.off('click', handler);
70
- */
71
- off(eventName, fn) {
72
- if (!this._subscribers || this._subscribers[eventName] == null || this._destroyed) {
73
- return;
74
- }
75
- const itemIdx = this._subscribers[eventName].indexOf(fn);
76
- if (itemIdx !== -1) {
77
- this._subscribers[eventName].splice(itemIdx, 1);
78
- }
79
- }
80
- /**
81
- * @private
82
- * @internal
83
- */
84
- destroy() {
85
- this._destroyed = true;
86
- this._subscribers = {};
87
- }
88
- };
89
-
90
- // src/blue-dot.ts
91
- var BlueDot = class {
92
- static {
93
- __name(this, "BlueDot");
94
- }
95
- #pubsub = new PubSub();
96
- #mapView;
97
- /**
98
- * Create a new {@link BlueDot} instance.
99
- */
100
- constructor(mapView) {
101
- this.#mapView = mapView;
102
- this.#mapView.__BlueDot.on("blue-dot-position-error", (e) => {
103
- this.#pubsub.publish("error", e);
104
- });
105
- this.#mapView.__BlueDot.on("blue-dot-position-update", (e) => {
106
- this.#pubsub.publish("position-update", e);
107
- });
108
- this.#mapView.__BlueDot.on("blue-dot-state-change", (e) => {
109
- this.#pubsub.publish("state-change", e);
110
- });
111
- this.#mapView.__BlueDot.on("blue-dot-follow-change", (e) => {
112
- this.#pubsub.publish("follow-change", e);
113
- });
114
- this.#mapView.__BlueDot.on("click", (e) => {
115
- this.#pubsub.publish("click", e);
116
- });
117
- this.#mapView.__BlueDot.on("hover", () => {
118
- this.#pubsub.publish("hover");
119
- });
120
- }
121
- /**
122
- * The current state of the BlueDot. Can be 'hidden', 'active', 'inactive', or 'disabled'.
123
- * Listen for state changes using the 'state-change' event.
124
- *
125
- * @example
126
- * mapView.BlueDot.on('state-change', ({ state }) => {
127
- * if (state === 'active') {
128
- * // BlueDot is visible and tracking
129
- * }
130
- * });
131
- */
132
- get state() {
133
- return this.#mapView.__BlueDot.state;
134
- }
135
- /**
136
- * Whether the BlueDot is currently following the user (camera follow mode).
137
- */
138
- get following() {
139
- return this.#mapView.__BlueDot.following;
140
- }
141
- /**
142
- * The direction the user is facing in degrees from north clockwise.
143
- * @see https://developer.mozilla.org/en-US/docs/Web/API/GeolocationCoordinates/heading
144
- */
145
- get heading() {
146
- return this.#mapView.__BlueDot.heading;
147
- }
148
- /**
149
- * The accuracy of the current position in metres.
150
- */
151
- get accuracy() {
152
- return this.#mapView.__BlueDot.accuracy;
153
- }
154
- /**
155
- * The coordinate of the current position.
156
- */
157
- get coordinate() {
158
- return this.#mapView.__BlueDot.coordinate;
159
- }
160
- /**
161
- * The floor the Blue Dot is currently on. If undefined, the Blue Dot will appear on every floor.
162
- */
163
- get floor() {
164
- return this.#mapView.__BlueDot.floor;
165
- }
166
- /**
167
- * Enable the Blue Dot. It will be hidden until a position is received either from the browser or by calling {@link BlueDot.update}.
168
- * @param options - The options to setup the Blue Dot (see {@link BlueDotOptions}).
169
- *
170
- * @example Enable with default options
171
- * mapView.BlueDot.enable();
172
- *
173
- * @example Enable with custom color and accuracy ring
174
- * mapView.BlueDot.enable({ color: '#00ff00', accuracyRing: { color: '#00ff00', opacity: 0.2 } });
175
- *
176
- * @see See the [BlueDot Guide](https://developer.mappedin.com/web-sdk/blue-dot) for more information.
177
- */
178
- enable = /* @__PURE__ */ __name((options) => {
179
- this.#mapView.__BlueDot.enable(options);
180
- }, "enable");
181
- /**
182
- * Disable the Blue Dot. It will be hidden and no longer update.
183
- */
184
- disable = /* @__PURE__ */ __name(() => {
185
- this.#mapView.__BlueDot.disable();
186
- }, "disable");
187
- on = /* @__PURE__ */ __name((eventName, fn) => {
188
- this.#pubsub.on(eventName, fn);
189
- }, "on");
190
- off = /* @__PURE__ */ __name((eventName, fn) => {
191
- this.#pubsub.off(eventName, fn);
192
- }, "off");
193
- /**
194
- * Enable or disable the devices's geolocation listener to automatically position the Blue Dot.
195
- * If enabled, the device will request permission to access the user's precise location.
196
- * @param watch - Whether to enable or disable the listener.
197
- */
198
- watchDevicePosition = /* @__PURE__ */ __name((watch = true) => {
199
- this.#mapView.__BlueDot.watchDevicePosition(watch);
200
- }, "watchDevicePosition");
201
- /**
202
- * Manually override some position properties of the Blue Dot.
203
- * Accepts a full GeolocationPosition object or a partial {@link BlueDotPositionUpdate} object.
204
- * @example Manually set the accuracy and heading
205
- * ```ts
206
- * api.BlueDot.update({ accuracy: 10, heading: 90 });
207
- * ```
208
- * @example Reset accuracy and heading to device values
209
- * ```ts
210
- * api.BlueDot.update({ accuracy: 'device', heading: 'device' });
211
- * ```
212
- */
213
- update = /* @__PURE__ */ __name((position) => {
214
- this.#mapView.__BlueDot.update(position);
215
- }, "update");
216
- /**
217
- * Set the camera to follow the BlueDot in various modes. User interaction will cancel following automatically.
218
- * @param mode The follow mode ('position-only', 'position-and-heading', 'position-and-path-direction', or false to disable).
219
- * @param cameraOptions Optional camera options (zoom, pitch, etc.).
220
- *
221
- * @example
222
- * mapView.BlueDot.follow('position-and-heading', { zoomLevel: 21, pitch: 45 });
223
- */
224
- follow = /* @__PURE__ */ __name((mode, cameraOptions) => {
225
- this.#mapView.__BlueDot.follow(mode, cameraOptions);
226
- }, "follow");
227
- destroy = /* @__PURE__ */ __name(() => {
228
- this.#pubsub.destroy();
229
- }, "destroy");
230
- };
6
+ // src/index.ts
7
+ init_define_process();
231
8
  export {
232
9
  BlueDot
233
10
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../packages/common/pubsub.ts", "../../src/blue-dot.ts"],
4
- "sourcesContent": ["/**\n * Generic PubSub class implementing the Publish-Subscribe pattern for event handling.\n *\n * @template EVENT_PAYLOAD - The type of the event payload.\n * @template EVENT - The type of the event.\n */\nexport class PubSub<EVENT_PAYLOAD, EVENT extends keyof EVENT_PAYLOAD = keyof EVENT_PAYLOAD> {\n\t/**\n\t * @private\n\t * @internal\n\t */\n\tprivate _subscribers: any = {};\n\t/**\n\t * @private\n\t * @internal\n\t */\n\tprivate _destroyed = false;\n\n\t/**\n\t * @private\n\t * @internal\n\t */\n\tpublish<EVENT_NAME extends EVENT>(eventName: EVENT_NAME, data?: EVENT_PAYLOAD[EVENT_NAME]) {\n\t\tif (!this._subscribers || !this._subscribers[eventName] || this._destroyed) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._subscribers[eventName]!.forEach(function (fn) {\n\t\t\tif (typeof fn !== 'function') {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tfn(data);\n\t\t});\n\t}\n\n\t/**\n\t * Subscribe a function to an event.\n\t *\n\t * @param eventName An event name which, when fired, will call the provided\n\t * function.\n\t * @param fn A callback that gets called when the corresponding event is fired. The\n\t * callback will get passed an argument with a type that's one of event payloads.\n\t * @example\n\t * // Subscribe to the 'click' event\n\t * const handler = (event) => {\n\t * const { coordinate } = event;\n\t * const { latitude, longitude } = coordinate;\n\t * \tconsole.log(`Map was clicked at ${latitude}, ${longitude}`);\n\t * };\n\t * map.on('click', handler);\n\t */\n\ton<EVENT_NAME extends EVENT>(\n\t\teventName: EVENT_NAME,\n\t\tfn: (\n\t\t\tpayload: EVENT_PAYLOAD[EVENT_NAME] extends {\n\t\t\t\tdata: null;\n\t\t\t}\n\t\t\t\t? EVENT_PAYLOAD[EVENT_NAME]['data']\n\t\t\t\t: EVENT_PAYLOAD[EVENT_NAME],\n\t\t) => void,\n\t) {\n\t\tif (!this._subscribers || this._destroyed) {\n\t\t\tthis._subscribers = {};\n\t\t}\n\t\tthis._subscribers[eventName] = this._subscribers[eventName] || [];\n\t\tthis._subscribers[eventName]!.push(fn);\n\t}\n\n\t/**\n\t * Unsubscribe a function previously subscribed with {@link on}\n\t *\n\t * @param eventName An event name to which the provided function was previously\n\t * subscribed.\n\t * @param fn A function that was previously passed to {@link on}. The function must\n\t * have the same reference as the function that was subscribed.\n\t * @example\n\t * // Unsubscribe from the 'click' event\n\t * const handler = (event) => {\n\t * \tconsole.log('Map was clicked', event);\n\t * };\n\t * map.off('click', handler);\n\t */\n\toff<EVENT_NAME extends EVENT>(\n\t\teventName: EVENT_NAME,\n\t\tfn: (\n\t\t\tpayload: EVENT_PAYLOAD[EVENT_NAME] extends {\n\t\t\t\tdata: null;\n\t\t\t}\n\t\t\t\t? EVENT_PAYLOAD[EVENT_NAME]['data']\n\t\t\t\t: EVENT_PAYLOAD[EVENT_NAME],\n\t\t) => void,\n\t) {\n\t\tif (!this._subscribers || this._subscribers[eventName] == null || this._destroyed) {\n\t\t\treturn;\n\t\t}\n\t\tconst itemIdx = this._subscribers[eventName]!.indexOf(fn);\n\n\t\tif (itemIdx !== -1) {\n\t\t\tthis._subscribers[eventName]!.splice(itemIdx, 1);\n\t\t}\n\t}\n\t/**\n\t * @private\n\t * @internal\n\t */\n\tdestroy() {\n\t\tthis._destroyed = true;\n\t\tthis._subscribers = {};\n\t}\n}\n", "import { PubSub } from '@packages/internal/common/pubsub';\nimport type { MapView } from '@mappedin/mappedin-js';\nimport type {\n\tBlueDotEventPayloads,\n\tBlueDotOptions,\n\tBlueDotPositionUpdate,\n\tBlueDotState,\n\tFollowCameraOptions,\n\tFollowMode,\n} from './types';\n\n/**\n * Show a Blue Dot indicating the device's position on the map.\n *\n * @example\n * ```ts\n * import { show3dMap } from '@mappedin/mappedin-js';\n * import { BlueDot } from '@mappedin/blue-dot';\n *\n * const mapView = await show3dMap(...);\n *\n * // Enable BlueDot\n * new BlueDot(mapView).enable();\n *\n * // Option 1: Listen for position updates from the device\n * mapView.BlueDot.on('position-update', (position) => {\n * console.log('User position:', position);\n * });\n *\n * // Option 2: Update position manually\n * new BlueDot(mapView).update({ latitude, longitude, accuracy, floorOrFloorId });\n *\n * ```\n */\nexport class BlueDot {\n\t#pubsub = new PubSub<BlueDotEventPayloads>();\n\t#mapView: MapView;\n\n\t/**\n\t * Create a new {@link BlueDot} instance.\n\t */\n\tconstructor(mapView: MapView) {\n\t\tthis.#mapView = mapView;\n\t\tthis.#mapView.__BlueDot.on('blue-dot-position-error', e => {\n\t\t\tthis.#pubsub.publish('error', e);\n\t\t});\n\t\tthis.#mapView.__BlueDot.on('blue-dot-position-update', e => {\n\t\t\tthis.#pubsub.publish('position-update', e);\n\t\t});\n\t\tthis.#mapView.__BlueDot.on('blue-dot-state-change', e => {\n\t\t\tthis.#pubsub.publish('state-change', e);\n\t\t});\n\t\tthis.#mapView.__BlueDot.on('blue-dot-follow-change', e => {\n\t\t\tthis.#pubsub.publish('follow-change', e);\n\t\t});\n\t\tthis.#mapView.__BlueDot.on('click', e => {\n\t\t\tthis.#pubsub.publish('click', e);\n\t\t});\n\t\tthis.#mapView.__BlueDot.on('hover', () => {\n\t\t\tthis.#pubsub.publish('hover');\n\t\t});\n\t}\n\n\t/**\n\t * The current state of the BlueDot. Can be 'hidden', 'active', 'inactive', or 'disabled'.\n\t * Listen for state changes using the 'state-change' event.\n\t *\n\t * @example\n\t * mapView.BlueDot.on('state-change', ({ state }) => {\n\t * if (state === 'active') {\n\t * // BlueDot is visible and tracking\n\t * }\n\t * });\n\t */\n\tget state(): BlueDotState {\n\t\treturn this.#mapView.__BlueDot.state;\n\t}\n\n\t/**\n\t * Whether the BlueDot is currently following the user (camera follow mode).\n\t */\n\tget following() {\n\t\treturn this.#mapView.__BlueDot.following;\n\t}\n\n\t/**\n\t * The direction the user is facing in degrees from north clockwise.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/GeolocationCoordinates/heading\n\t */\n\tget heading() {\n\t\treturn this.#mapView.__BlueDot.heading;\n\t}\n\n\t/**\n\t * The accuracy of the current position in metres.\n\t */\n\tget accuracy() {\n\t\treturn this.#mapView.__BlueDot.accuracy;\n\t}\n\n\t/**\n\t * The coordinate of the current position.\n\t */\n\tget coordinate() {\n\t\treturn this.#mapView.__BlueDot.coordinate;\n\t}\n\n\t/**\n\t * The floor the Blue Dot is currently on. If undefined, the Blue Dot will appear on every floor.\n\t */\n\tget floor() {\n\t\treturn this.#mapView.__BlueDot.floor;\n\t}\n\n\t/**\n\t * Enable the Blue Dot. It will be hidden until a position is received either from the browser or by calling {@link BlueDot.update}.\n\t * @param options - The options to setup the Blue Dot (see {@link BlueDotOptions}).\n\t *\n\t * @example Enable with default options\n\t * mapView.BlueDot.enable();\n\t *\n\t * @example Enable with custom color and accuracy ring\n\t * mapView.BlueDot.enable({ color: '#00ff00', accuracyRing: { color: '#00ff00', opacity: 0.2 } });\n\t *\n\t * @see See the [BlueDot Guide](https://developer.mappedin.com/web-sdk/blue-dot) for more information.\n\t */\n\tenable = (options?: BlueDotOptions) => {\n\t\tthis.#mapView.__BlueDot.enable(options);\n\t};\n\n\t/**\n\t * Disable the Blue Dot. It will be hidden and no longer update.\n\t */\n\tdisable = () => {\n\t\tthis.#mapView.__BlueDot.disable();\n\t};\n\n\ton: PubSub<BlueDotEventPayloads>['on'] = (eventName, fn) => {\n\t\tthis.#pubsub.on(eventName, fn);\n\t};\n\n\toff: PubSub<BlueDotEventPayloads>['off'] = (eventName, fn) => {\n\t\tthis.#pubsub.off(eventName, fn);\n\t};\n\n\t/**\n\t * Enable or disable the devices's geolocation listener to automatically position the Blue Dot.\n\t * If enabled, the device will request permission to access the user's precise location.\n\t * @param watch - Whether to enable or disable the listener.\n\t */\n\twatchDevicePosition = (watch = true) => {\n\t\tthis.#mapView.__BlueDot.watchDevicePosition(watch);\n\t};\n\n\t/**\n\t * Manually override some position properties of the Blue Dot.\n\t * Accepts a full GeolocationPosition object or a partial {@link BlueDotPositionUpdate} object.\n\t * @example Manually set the accuracy and heading\n\t * ```ts\n\t * api.BlueDot.update({ accuracy: 10, heading: 90 });\n\t * ```\n\t * @example Reset accuracy and heading to device values\n\t * ```ts\n\t * api.BlueDot.update({ accuracy: 'device', heading: 'device' });\n\t * ```\n\t */\n\tupdate = (position: BlueDotPositionUpdate) => {\n\t\tthis.#mapView.__BlueDot.update(position);\n\t};\n\n\t/**\n\t * Set the camera to follow the BlueDot in various modes. User interaction will cancel following automatically.\n\t * @param mode The follow mode ('position-only', 'position-and-heading', 'position-and-path-direction', or false to disable).\n\t * @param cameraOptions Optional camera options (zoom, pitch, etc.).\n\t *\n\t * @example\n\t * mapView.BlueDot.follow('position-and-heading', { zoomLevel: 21, pitch: 45 });\n\t */\n\tfollow = (mode: FollowMode, cameraOptions?: FollowCameraOptions) => {\n\t\tthis.#mapView.__BlueDot.follow(mode, cameraOptions);\n\t};\n\n\tdestroy = () => {\n\t\tthis.#pubsub.destroy();\n\t};\n}\n"],
5
- "mappings": ";;;;AAMO,IAAM,SAAN,MAAqF;AAAA,EAN5F,OAM4F;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKnF,eAAoB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrB,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,EAMrB,QAAkC,WAAuB,MAAkC;AAC1F,QAAI,CAAC,KAAK,gBAAgB,CAAC,KAAK,aAAa,SAAS,KAAK,KAAK,YAAY;AAC3E;AAAA,IACD;AAEA,SAAK,aAAa,SAAS,EAAG,QAAQ,SAAU,IAAI;AACnD,UAAI,OAAO,OAAO,YAAY;AAC7B;AAAA,MACD;AACA,SAAG,IAAI;AAAA,IACR,CAAC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBA,GACC,WACA,IAOC;AACD,QAAI,CAAC,KAAK,gBAAgB,KAAK,YAAY;AAC1C,WAAK,eAAe,CAAC;AAAA,IACtB;AACA,SAAK,aAAa,SAAS,IAAI,KAAK,aAAa,SAAS,KAAK,CAAC;AAChE,SAAK,aAAa,SAAS,EAAG,KAAK,EAAE;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBA,IACC,WACA,IAOC;AACD,QAAI,CAAC,KAAK,gBAAgB,KAAK,aAAa,SAAS,KAAK,QAAQ,KAAK,YAAY;AAClF;AAAA,IACD;AACA,UAAM,UAAU,KAAK,aAAa,SAAS,EAAG,QAAQ,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,QAAQ,QAAQ;AAAA,EACtB,GAFU;AAGX;",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["export { BlueDot } from './blue-dot';\nexport type {\n\tBlueDotEvents,\n\tBlueDotEventPayloads,\n\tBlueDotPositionUpdate,\n\tBlueDotStatus,\n\tBlueDotAction,\n\tFollowMode,\n\tFollowCameraOptions,\n\tBlueDotState,\n\tBlueDotPositionProcessor,\n\tBlueDotPositionUpdateWithFloor,\n\tBlueDotUpdateOptions,\n\tGeolocationPositionExtended,\n} from './types';\n"],
5
+ "mappings": ";;;;;;AAAA;",
6
6
  "names": []
7
7
  }