@abi-software/mapintegratedvuer 1.8.0-isan.1 → 1.8.0-isan.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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/mapintegratedvuer",
3
- "version": "1.8.0-isan.1",
3
+ "version": "1.8.0-isan.2",
4
4
  "license": "Apache-2.0",
5
5
  "scripts": {
6
6
  "serve": "vite --host --force",
@@ -50,7 +50,7 @@
50
50
  "*.js"
51
51
  ],
52
52
  "dependencies": {
53
- "@abi-software/flatmapvuer": "^1.8.2-isan.6",
53
+ "@abi-software/flatmapvuer": "^1.8.2-isan.7",
54
54
  "@abi-software/map-side-bar": "^2.7.2-isan.7",
55
55
  "@abi-software/map-utilities": "^1.4.3-isan.1",
56
56
  "@abi-software/plotvuer": "^1.0.3",
@@ -2,7 +2,7 @@ const initialDefaultState = () => {
2
2
  return {
3
3
  entries: [
4
4
  {
5
- resource: "Rat",
5
+ resource: "Human Male",
6
6
  type: "MultiFlatmap",
7
7
  mode: "main",
8
8
  id: 1,
@@ -152,21 +152,23 @@ export default {
152
152
  };
153
153
  let labels = new Set();
154
154
  if (resource?.feature['marker-terms']) {
155
- resource.feature['marker-terms'].forEach((term) => {
156
- labels.add(term.label)
157
- });
158
- labels.add(label)
159
- if (labels.size > 0) {
155
+ if(resource.feature['marker-terms'].length > 0) {
156
+ resource.feature['marker-terms'].forEach((term) => {
157
+ labels.add(term.label)
158
+ });
159
+ labels.add(label)
160
+ if (labels.size > 0) {
161
+ returnedAction = {
162
+ type: "Facets",
163
+ labels: [...labels],
164
+ };
165
+ }
166
+ } else if (resource?.feature?.models) {
160
167
  returnedAction = {
161
- type: "Facets",
162
- labels: [...labels],
168
+ type: "PMRSearch",
169
+ term: resource.feature.models,
163
170
  };
164
171
  }
165
- } else if (resource?.feature?.models) {
166
- returnedAction = {
167
- type: "PMRSearch",
168
- term: resource.feature.models,
169
- };
170
172
  }
171
173
  }
172
174
  fireResourceSelected = true;
@@ -55,7 +55,7 @@ export default {
55
55
  } else {
56
56
  flatmapImp.addDatasetMarkers(fmMarkers);
57
57
  }
58
- flatmapImp.addMarkers(multiMarkers);
58
+ flatmapImp.addMarkers(multiMarkers,{ className: "standard-marker" } );
59
59
 
60
60
  // Set the featured markers
61
61
  if (this.entry.type === "MultiFlatmap") {