@abi-software/flatmapvuer 1.10.3-beta.7 → 1.10.3-beta.8
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 +1269 -1262
- package/dist/flatmapvuer.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +12 -1
package/package.json
CHANGED
|
@@ -1948,7 +1948,18 @@ export default {
|
|
|
1948
1948
|
this.emitConnectivityError(errorData);
|
|
1949
1949
|
|
|
1950
1950
|
// highlight all available features
|
|
1951
|
-
const
|
|
1951
|
+
const connectivityFeatures = featuresToHighlight.reduce((arr, path) => {
|
|
1952
|
+
const connectivityObj = this.mapImp.pathways.paths[path];
|
|
1953
|
+
const connectivities = connectivityObj ? connectivityObj.connectivity : null;
|
|
1954
|
+
if (connectivities) {
|
|
1955
|
+
const flatFeatures = connectivities.flat(Infinity);
|
|
1956
|
+
arr.push(...flatFeatures);
|
|
1957
|
+
}
|
|
1958
|
+
return arr;
|
|
1959
|
+
}, []);
|
|
1960
|
+
const uniqueConnectivityFeatures = [...new Set(connectivityFeatures)];
|
|
1961
|
+
const combinedFeatures = [...featuresToHighlight, ...uniqueConnectivityFeatures];
|
|
1962
|
+
const featureIdsToHighlight = this.mapImp.modelFeatureIdList(combinedFeatures);
|
|
1952
1963
|
const allFeaturesToHighlight = [
|
|
1953
1964
|
...featureIdsToHighlight,
|
|
1954
1965
|
...geojsonHighlights
|