@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/dist/flatmapvuer.common.js +34 -27
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +34 -27
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +7 -2
package/package.json
CHANGED
|
@@ -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
|
-
|
|
612
|
+
return true;
|
|
613
|
+
}
|
|
614
|
+
else
|
|
615
|
+
this.mapImp.clearSearchResults();
|
|
612
616
|
}
|
|
613
617
|
}
|
|
618
|
+
return false;
|
|
614
619
|
}
|
|
615
620
|
},
|
|
616
621
|
props: {
|