@abi-software/flatmapvuer 1.2.0-beta.1 → 1.2.0-beta.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.2.0-beta.1",
3
+ "version": "1.2.0-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -601,7 +601,7 @@ Please use `const` to assign meaningful names to them...
601
601
  <Tooltip
602
602
  ref="tooltip"
603
603
  class="tooltip"
604
- v-show="tooltipDisplay && !connectivityInfoSidebar"
604
+ v-show="tooltipDisplay"
605
605
  :annotationEntry="annotationEntry"
606
606
  :tooltipEntry="tooltipEntry"
607
607
  :annotationDisplay="viewingMode === 'Annotation'"
@@ -1997,15 +1997,17 @@ export default {
1997
1997
  }
1998
1998
  // If connectivityInfoSidebar is set to `true`
1999
1999
  // Connectivity info will show in sidebar
2000
- if (this.connectivityInfoSidebar) {
2000
+ if (this.connectivityInfoSidebar && this.viewingMode !== 'Annotation') {
2001
2001
  // move the map center to highlighted area
2002
2002
  const featureIds = [feature];
2003
2003
  this.moveMap(featureIds);
2004
2004
  this.$emit('connectivity-info-open', this.tooltipEntry);
2005
2005
  }
2006
- // If connectivityInfoSidebar is not set (default) or set to `false`
2007
- // Connectivity info (Provenance info) tooltip will show on map
2008
- if (!this.disableUI && !this.connectivityInfoSidebar) {
2006
+ // If UI is not disabled,
2007
+ // And connectivityInfoSidebar is not set (default) or set to `false`
2008
+ // Provenance popup will be shown on map
2009
+ // Tooltip will be shown for Annotation view
2010
+ if (!this.disableUI && (!this.connectivityInfoSidebar || this.viewingMode === 'Annotation')) {
2009
2011
  this.$nextTick(() => {
2010
2012
  this.mapImp.showPopup(featureId, this.$refs.tooltip.$el, options)
2011
2013
  this.popUpCssHacks()