@abi-software/flatmapvuer 1.4.1-beta.2 → 1.4.1-beta.4
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/flatmapvuer.js +232 -232
- package/dist/flatmapvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +6 -4
package/package.json
CHANGED
|
@@ -1811,10 +1811,11 @@ export default {
|
|
|
1811
1811
|
* @arg data
|
|
1812
1812
|
*/
|
|
1813
1813
|
checkAndCreatePopups: async function (data) {
|
|
1814
|
+
this.imageEntry = []
|
|
1815
|
+
this.provenanceEntry = {}
|
|
1814
1816
|
if (data.feature.type === 'marker' && this.imageRadio) {
|
|
1815
1817
|
this.tooltipType = 'image'
|
|
1816
1818
|
const imageThumbnails = this.settingsStore.getImageThumbnails(this.imageType, [data.resource[0]])
|
|
1817
|
-
this.imageEntry = markRaw([])
|
|
1818
1819
|
if (data.resource[0] in imageThumbnails) {
|
|
1819
1820
|
this.imageEntry = markRaw(imageThumbnails[data.resource[0]])
|
|
1820
1821
|
}
|
|
@@ -2105,7 +2106,7 @@ export default {
|
|
|
2105
2106
|
options.annotationFeatureGeometry = geometry
|
|
2106
2107
|
} else {
|
|
2107
2108
|
featureId = this.mapImp.modelFeatureIds(feature)[0]
|
|
2108
|
-
if (!this.activeDrawTool) {
|
|
2109
|
+
if (!this.activeDrawTool && !this.imageEntry.length) {
|
|
2109
2110
|
options.positionAtLastClick = true
|
|
2110
2111
|
}
|
|
2111
2112
|
}
|
|
@@ -2121,7 +2122,7 @@ export default {
|
|
|
2121
2122
|
}
|
|
2122
2123
|
this.$emit('connectivity-info-open', this.provenanceEntry);
|
|
2123
2124
|
}
|
|
2124
|
-
if (this.imageThumbnailSidebar && this.
|
|
2125
|
+
if (this.imageThumbnailSidebar && this.viewingMode === 'Exploration') {
|
|
2125
2126
|
this.$emit('image-thumbnail-open', this.imageEntry)
|
|
2126
2127
|
}
|
|
2127
2128
|
// If UI is not disabled,
|
|
@@ -2478,7 +2479,8 @@ export default {
|
|
|
2478
2479
|
|
|
2479
2480
|
if (_map) {
|
|
2480
2481
|
_map.on('click', (e) => {
|
|
2481
|
-
|
|
2482
|
+
// Tmeporary add imageEntry length
|
|
2483
|
+
if (this.provenanceEntry.featureId || this.imageEntry.length) {
|
|
2482
2484
|
this.$emit('connectivity-info-close');
|
|
2483
2485
|
}
|
|
2484
2486
|
});
|