@abi-software/flatmapvuer 1.9.1-beta.1 → 1.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "1.9.1-beta.1",
3
+ "version": "1.9.2",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -558,7 +558,7 @@ Please use `const` to assign meaningful names to them...
558
558
  </template>
559
559
  </el-popover>
560
560
  </el-row>
561
- <el-row v-if="showLocalSettings">
561
+ <el-row>
562
562
  <el-popover
563
563
  content="Change settings"
564
564
  placement="right"
@@ -1934,16 +1934,18 @@ export default {
1934
1934
  return false
1935
1935
  },
1936
1936
  changeConnectivitySource: async function (payload) {
1937
- const { featureId, connectivitySource } = payload;
1938
- await this.flatmapQueries.queryForConnectivityNew(this.mapImp, featureId[0], connectivitySource);
1939
- this.tooltipEntry = this.tooltipEntry.map((tooltip) => {
1940
- if (tooltip.featureId[0] === featureId[0]) {
1941
- return this.flatmapQueries.updateTooltipData(tooltip);
1937
+ const { entry, connectivitySource } = payload;
1938
+ if (entry.mapId === this.mapImp.id) {
1939
+ await this.flatmapQueries.queryForConnectivityNew(this.mapImp, entry.featureId[0], connectivitySource);
1940
+ this.tooltipEntry = this.tooltipEntry.map((tooltip) => {
1941
+ if (tooltip.featureId[0] === entry.featureId[0]) {
1942
+ return this.flatmapQueries.updateTooltipData(tooltip);
1943
+ }
1944
+ return tooltip;
1945
+ })
1946
+ if (this.checkConnectivityTooltipEntry(this.tooltipEntry)) {
1947
+ this.$emit('connectivity-info-open', this.tooltipEntry);
1942
1948
  }
1943
- return tooltip;
1944
- })
1945
- if (this.checkConnectivityTooltipEntry(this.tooltipEntry)) {
1946
- this.$emit('connectivity-info-open', this.tooltipEntry);
1947
1949
  }
1948
1950
  },
1949
1951
  /**
@@ -3011,14 +3013,6 @@ export default {
3011
3013
  type: Boolean,
3012
3014
  default: false,
3013
3015
  },
3014
- /**
3015
- * The option to show local settings UI
3016
- * (background colour, flight path, viewing mode, etc.)
3017
- */
3018
- showLocalSettings: {
3019
- type: Boolean,
3020
- default: true,
3021
- },
3022
3016
  },
3023
3017
  provide() {
3024
3018
  return {
@@ -86,7 +86,6 @@
86
86
  :mapManager="mapManagerRef"
87
87
  :flatmapAPI="flatmapAPI"
88
88
  :sparcAPI="sparcAPI"
89
- :showLocalSettings="showLocalSettings"
90
89
  />
91
90
  </div>
92
91
  </template>
@@ -763,14 +762,6 @@ export default {
763
762
  type: Boolean,
764
763
  default: false,
765
764
  },
766
- /**
767
- * The option to show local settings UI
768
- * (background colour, flight path, viewing mode, etc.)
769
- */
770
- showLocalSettings: {
771
- type: Boolean,
772
- default: true,
773
- },
774
765
  },
775
766
  data: function () {
776
767
  return {