@dative-gpi/foundation-shared-components 1.0.137-maps1 → 1.0.137-maps2

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.
@@ -293,7 +293,7 @@ export default defineComponent({
293
293
  if(!map.value) {
294
294
  return;
295
295
  }
296
- map.value.setView(calculateTargetPosition(latLng(lat, lng)), zoom);
296
+ map.value.setView(calculateTargetPosition(latLng(lat, lng), zoom), zoom);
297
297
  }
298
298
 
299
299
  const fitBounds = (bounds: LatLngBounds, options?: FitBoundsOptions) => {
@@ -328,7 +328,7 @@ export default defineComponent({
328
328
  maxZoom: 22,
329
329
  maxBounds: latLngBounds(latLng(-90, -180), latLng(90, 180)),
330
330
  maxBoundsViscosity: 1.0,
331
- zoom: defaultZoom,
331
+ zoom: 5,
332
332
  center: props.center ? latLng(props.center[0], props.center[1]) : latLng(48.85782, 2.29521)
333
333
  };
334
334
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.137-maps1",
4
+ "version": "1.0.137-maps2",
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": "1.0.137-maps1",
14
- "@dative-gpi/foundation-shared-services": "1.0.137-maps1"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.137-maps2",
14
+ "@dative-gpi/foundation-shared-services": "1.0.137-maps2"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "5bb28346fa20852b47a19c215fcebb6072bc5fcb"
38
+ "gitHead": "0e9da9645c2c83684220f99135cf12e4c339897c"
39
39
  }