@abi-software/flatmapvuer 1.9.2 → 1.9.3-beta.1

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.2",
3
+ "version": "1.9.3-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -533,7 +533,7 @@ Please use `const` to assign meaningful names to them...
533
533
  :class="{ open: drawerOpen, close: !drawerOpen }"
534
534
  v-show="!disableUI"
535
535
  >
536
- <el-row>
536
+ <el-row v-if="showOpenMapButton">
537
537
  <el-popover
538
538
  :visible="hoverVisibilities[4].value"
539
539
  content="Open new map"
@@ -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>
561
+ <el-row v-if="showLocalSettings">
562
562
  <el-popover
563
563
  content="Change settings"
564
564
  placement="right"
@@ -1935,7 +1935,7 @@ export default {
1935
1935
  },
1936
1936
  changeConnectivitySource: async function (payload) {
1937
1937
  const { entry, connectivitySource } = payload;
1938
- if (entry.mapId === this.mapImp.id) {
1938
+ if (entry.mapId === this.mapImp.id) {
1939
1939
  await this.flatmapQueries.queryForConnectivityNew(this.mapImp, entry.featureId[0], connectivitySource);
1940
1940
  this.tooltipEntry = this.tooltipEntry.map((tooltip) => {
1941
1941
  if (tooltip.featureId[0] === entry.featureId[0]) {
@@ -3013,6 +3013,21 @@ export default {
3013
3013
  type: Boolean,
3014
3014
  default: false,
3015
3015
  },
3016
+ /**
3017
+ * The option to show local settings UI
3018
+ * (background colour, flight path, viewing mode, etc.)
3019
+ */
3020
+ showLocalSettings: {
3021
+ type: Boolean,
3022
+ default: true,
3023
+ },
3024
+ /**
3025
+ * The option to show open new map button
3026
+ */
3027
+ showOpenMapButton: {
3028
+ type: Boolean,
3029
+ default: true,
3030
+ },
3016
3031
  },
3017
3032
  provide() {
3018
3033
  return {
@@ -86,6 +86,8 @@
86
86
  :mapManager="mapManagerRef"
87
87
  :flatmapAPI="flatmapAPI"
88
88
  :sparcAPI="sparcAPI"
89
+ :showLocalSettings="showLocalSettings"
90
+ :showOpenMapButton="showOpenMapButton"
89
91
  />
90
92
  </div>
91
93
  </template>
@@ -762,6 +764,21 @@ export default {
762
764
  type: Boolean,
763
765
  default: false,
764
766
  },
767
+ /**
768
+ * The option to show local settings UI
769
+ * (background colour, flight path, viewing mode, etc.)
770
+ */
771
+ showLocalSettings: {
772
+ type: Boolean,
773
+ default: true,
774
+ },
775
+ /**
776
+ * The option to show open new map button
777
+ */
778
+ showOpenMapButton: {
779
+ type: Boolean,
780
+ default: true,
781
+ },
765
782
  },
766
783
  data: function () {
767
784
  return {