@fleet-frontend/mower-maps 0.2.0-beta.53 → 0.2.0-beta.54

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/dist/index.esm.js CHANGED
@@ -15439,6 +15439,11 @@ function calculateMapBounds(mapData, ignoreVisionOffAreas = true) {
15439
15439
  if (mapData.sub_maps) {
15440
15440
  for (const subMap of mapData.sub_maps) {
15441
15441
  allElements.push(...(subMap.elements || []));
15442
+ for (const element of subMap.elements) {
15443
+ if (element.tunnel) {
15444
+ allElements.push(element.tunnel);
15445
+ }
15446
+ }
15442
15447
  }
15443
15448
  }
15444
15449
  if (mapData.obstacles)
package/dist/index.js CHANGED
@@ -15459,6 +15459,11 @@ function calculateMapBounds(mapData, ignoreVisionOffAreas = true) {
15459
15459
  if (mapData.sub_maps) {
15460
15460
  for (const subMap of mapData.sub_maps) {
15461
15461
  allElements.push(...(subMap.elements || []));
15462
+ for (const element of subMap.elements) {
15463
+ if (element.tunnel) {
15464
+ allElements.push(element.tunnel);
15465
+ }
15466
+ }
15462
15467
  }
15463
15468
  }
15464
15469
  if (mapData.obstacles)
@@ -1 +1 @@
1
- {"version":3,"file":"mapBounds.d.ts","sourceRoot":"","sources":["../../src/utils/mapBounds.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,EAAmB,OAAO,EAAE,MAAM,UAAU,CAAC;AAEpD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,oBAAoB,UAAO,GAAG,SAAS,CAsD3F;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,CAgDnE;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAAO,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAShF;AACD;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAA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AAK,CAKxD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAKlF;AAiBD;;;;GAIG;AAEH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG;IAC1D,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrB,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtB,GAAG,IAAI,CA4EP;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAoDpF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleet-frontend/mower-maps",
3
- "version": "0.2.0-beta.53",
3
+ "version": "0.2.0-beta.54",
4
4
  "type": "module",
5
5
  "description": "a mower maps in google maps",
6
6
  "main": "dist/index.js",