@abi-software/flatmapvuer 0.4.6-fixes-1 → 0.4.6-fixes-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-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.4.6-fixes-1",
3
+ "version": "0.4.6-fixes-2",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.4.6-fixes-1",
3
+ "version": "0.4.6-fixes-2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/flatmapvuer.common.js",
6
6
  "files": [
@@ -844,9 +844,10 @@ export default {
844
844
  if (displayLabel &&
845
845
  searchResults.results[0].featureId &&
846
846
  searchResults.results[0].text) {
847
+ const annotation = this.mapImp.annotation(searchResults.results[0].featureId);
847
848
  this.mapImp.showPopup(
848
849
  searchResults.results[0].featureId,
849
- searchResults.results[0].text,
850
+ annotation.label,
850
851
  { className: "custom-popup", positionAtLastClick: false, preserveSelection: true }
851
852
  )
852
853
  }