@datosgeo-atdt/geo-ui 0.12.7 → 0.12.10

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/geo-ui.js CHANGED
@@ -25451,7 +25451,8 @@ const Va = "pmtiles-source", Fn = "pmtiles-fill", Bn = "municipios-source", cs =
25451
25451
  const X = Oe.getZoom();
25452
25452
  console.log("📍 Zoom actual antes de fitBounds:", X), Oe.fitBounds(V, {
25453
25453
  duration: 0,
25454
- padding: 2
25454
+ padding: 20
25455
+ // Padding para que la entidad no toque los bordes
25455
25456
  }), setTimeout(() => {
25456
25457
  const J = Oe.getZoom(), le = Oe.getCenter();
25457
25458
  console.log("📍 Zoom después de fitBounds:", J), console.log("📍 Centro después de fitBounds:", le);
@@ -25522,7 +25523,8 @@ const Va = "pmtiles-source", Fn = "pmtiles-fill", Bn = "municipios-source", cs =
25522
25523
  ];
25523
25524
  Oe.fitBounds(Rr, {
25524
25525
  duration: 0,
25525
- padding: 2
25526
+ padding: 20
25527
+ // Padding uniforme alrededor del bbox
25526
25528
  });
25527
25529
  }
25528
25530
  }