@mcurros2/microm 1.1.157-0 → 1.1.158-0

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/index.js CHANGED
@@ -36797,6 +36797,8 @@ $parcel$export(module.exports, "useCreateGoogleMap", function () { return $b737d
36797
36797
  var $32aKS = parcelRequire("32aKS");
36798
36798
 
36799
36799
  var $f1AFh = parcelRequire("f1AFh");
36800
+
36801
+ var $jQiQb = parcelRequire("jQiQb");
36800
36802
  function $b737d4021abcf81e$export$bdaabecc63f2fdb2({ mapOptions: mapOptions, children: children, setInfoWindowContent: setInfoWindowContent, infoWindowContentRef: infoWindowContentRef }) {
36801
36803
  const containerRef = (0, $b4te3$react.useRef)(null);
36802
36804
  const [map, setMap] = (0, $b4te3$react.useState)(null);
@@ -36804,6 +36806,7 @@ function $b737d4021abcf81e$export$bdaabecc63f2fdb2({ mapOptions: mapOptions, chi
36804
36806
  (0, $b4te3$react.useEffect)(()=>{
36805
36807
  if (map === null) {
36806
36808
  if (!containerRef.current) throw new Error("Container required.");
36809
+ if (mapOptions && !mapOptions.center) mapOptions.center = (0, $jQiQb.DEFAULT_MAP_CENTER);
36807
36810
  const initMap = new google.maps.Map(containerRef.current, mapOptions);
36808
36811
  setMap(initMap);
36809
36812
  }
@@ -37541,8 +37544,6 @@ function $477f8ab014db96d9$export$2328eff9e1bf84ef(props) {
37541
37544
 
37542
37545
  });
37543
37546
 
37544
-
37545
-
37546
37547
  parcelRegister("jQiQb", function(module, exports) {
37547
37548
 
37548
37549
  $parcel$export(module.exports, "DEFAULT_MAP_CENTER", function () { return $fcb291f733171619$export$8cd0ab387c59a110; });
@@ -37563,6 +37564,8 @@ const $fcb291f733171619$export$67a59ec0222ad436 = {
37563
37564
 
37564
37565
  });
37565
37566
 
37567
+
37568
+
37566
37569
  parcelRegister("cBazH", function(module, exports) {
37567
37570
 
37568
37571
  $parcel$export(module.exports, "useGoogleAddressMappingRules", function () { return $d69768ae288c9561$export$fa48517122fad011; });