@dative-gpi/foundation-shared-components 0.0.195 → 0.0.197

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.
@@ -98,7 +98,6 @@ import { computed, defineComponent, onMounted, type PropType, ref, watch } from
98
98
 
99
99
  import * as L from "leaflet";
100
100
  import "leaflet.markercluster";
101
- import { MarkerClusterGroup } from "leaflet";
102
101
 
103
102
  import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
104
103
 
@@ -210,13 +209,13 @@ export default defineComponent({
210
209
  const myLocationLayerGroup = new L.LayerGroup();
211
210
 
212
211
  let map: L.Map;
213
- let markerLayerGroup: L.FeatureGroup | MarkerClusterGroup;
212
+ let markerLayerGroup: L.FeatureGroup | any;
214
213
 
215
214
  if (props.editable) {
216
215
  markerLayerGroup = new L.FeatureGroup();
217
216
  }
218
217
  else {
219
- markerLayerGroup = new MarkerClusterGroup({
218
+ markerLayerGroup = new window.L.MarkerClusterGroup({
220
219
  spiderfyOnMaxZoom: false,
221
220
  showCoverageOnHover: false,
222
221
  disableClusteringAtZoom: 17,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "0.0.195",
4
+ "version": "0.0.197",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "0.0.195",
14
- "@dative-gpi/foundation-shared-services": "0.0.195",
13
+ "@dative-gpi/foundation-shared-domain": "0.0.197",
14
+ "@dative-gpi/foundation-shared-services": "0.0.197",
15
15
  "leaflet": "1.9.4",
16
16
  "leaflet.markercluster": "1.5.3"
17
17
  },
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "acda9a6c41eb4f36cd702ef36bfe6be21bb6dd70"
38
+ "gitHead": "8e65deed3f8b3b2bf7f750b120afed7d650f1c7e"
39
39
  }