proximiio-js-library 1.12.1 → 1.12.2

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.
@@ -316,22 +316,16 @@ export class Map {
316
316
  // @ts-ignore
317
317
  this.map.getSource('pointAlong').setData(pointAlong);
318
318
  }
319
- /*if (this.defaultOptions.routeAnimation.type === 'puck') {
320
- this.map
321
- .getSource('start-point')
322
- // @ts-ignore
323
- .setData(
324
- circle(
325
- pointAlong.geometry.coordinates,
326
- this.defaultOptions.routeAnimation.puckRadius ? this.defaultOptions.routeAnimation.puckRadius : 0.002,
327
- {
328
- properties: {
319
+ if (this.defaultOptions.routeAnimation.type === 'puck') {
320
+ this.map
321
+ .getSource('start-point')
322
+ // @ts-ignore
323
+ .setData(circle(pointAlong.geometry.coordinates, this.defaultOptions.routeAnimation.puckRadius ? this.defaultOptions.routeAnimation.puckRadius : 0.002, {
324
+ properties: {
329
325
  level: this.state.floor.level,
330
- },
331
326
  },
332
- ),
333
- );
334
- }*/
327
+ }));
328
+ }
335
329
  // @ts-ignore
336
330
  this.map.getSource('lineAlong').setData(lineAlong);
337
331
  if (this.defaultOptions.routeAnimation.followRoute && !animationInProgress) {