@abi-software/flatmapvuer 0.2.5-beta-0 → 0.2.5-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": "0.2.5-beta-0",
3
+ "version": "0.2.5-beta-1",
4
4
  "main": "./dist/flatmapvuer.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -604,13 +604,18 @@ export default {
604
604
  if (this.mapImp) {
605
605
  if (term === undefined || term === "") {
606
606
  this.mapImp.clearSearchResults();
607
+ return true;
607
608
  } else {
608
609
  let searchResults = this.mapImp.search(term);
609
- if (searchResults && searchResults.__featureIds.length > 0)
610
+ if (searchResults && searchResults.__featureIds.length > 0) {
610
611
  this.mapImp.showSearchResults(searchResults);
611
- else this.mapImp.clearSearchResults();
612
+ return true;
613
+ }
614
+ else
615
+ this.mapImp.clearSearchResults();
612
616
  }
613
617
  }
618
+ return false;
614
619
  }
615
620
  },
616
621
  props: {