@datosgeo-atdt/geo-ui 0.3.0 → 0.3.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/README.md +1 -1
- package/dist/components/MapaPMTiles.d.ts.map +1 -1
- package/dist/geo-ui.js +4 -2
- package/dist/geo-ui.js.map +1 -1
- package/dist/geo-ui.umd.cjs +1 -1
- package/dist/geo-ui.umd.cjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ Muestra **solo** las entidades seleccionadas y ajusta el mapa automáticamente a
|
|
|
146
146
|
|------|------|---------|-------------|
|
|
147
147
|
| `pmtilesUrl` | `string` | `"https://www.datosgeoespaciales.atdt.gob.mx/datalake/pmtiles/componente/entidad.pmtiles"` | URL del archivo PMTiles remoto. **Por defecto usa el PMTiles de entidades de México** |
|
|
148
148
|
| `sourceLayer` | `string` | `"entidad"` | Nombre de la capa vectorial dentro del PMTiles |
|
|
149
|
-
| `joinGeomKey` | `string` | `"
|
|
149
|
+
| `joinGeomKey` | `string` | `"cvegeo"` | Campo de la geometría para hacer el join (también usado como `promoteId`) |
|
|
150
150
|
| `joinCsvKey` | `string` | `joinGeomKey` | Campo del CSV para hacer el join |
|
|
151
151
|
| `field` | `string` | `"valor"` | Campo del CSV con los valores a visualizar |
|
|
152
152
|
| `mode` | `"boolean" \| "jenks"` | `"boolean"` | Modo de estilo: booleano o clasificación Jenks |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapaPMTiles.d.ts","sourceRoot":"","sources":["../../src/components/MapaPMTiles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAO3D,MAAM,WAAW,gBAAgB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,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C,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAUD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+QlD,CAAC"}
|
package/dist/geo-ui.js
CHANGED
|
@@ -26056,7 +26056,7 @@ async function sx(F, C, D, $ = "bbox", Q) {
|
|
|
26056
26056
|
return console.error("Error buscando feature en PMTiles:", ue), null;
|
|
26057
26057
|
}
|
|
26058
26058
|
}
|
|
26059
|
-
const Nu = "pmtiles-source", Wf = "pmtiles-fill", ax = "https://www.datosgeoespaciales.atdt.gob.mx/datalake/pmtiles/componente/entidad.pmtiles", ox = "entidad", lx = "
|
|
26059
|
+
const Nu = "pmtiles-source", Wf = "pmtiles-fill", ax = "https://www.datosgeoespaciales.atdt.gob.mx/datalake/pmtiles/componente/entidad.pmtiles", ox = "entidad", lx = "cvegeo", xx = ({
|
|
26060
26060
|
pmtilesUrl: F = ax,
|
|
26061
26061
|
sourceLayer: C = ox,
|
|
26062
26062
|
joinGeomKey: D = lx,
|
|
@@ -26103,7 +26103,9 @@ const Nu = "pmtiles-source", Wf = "pmtiles-fill", ax = "https://www.datosgeoespa
|
|
|
26103
26103
|
touchPitch: !1,
|
|
26104
26104
|
touchZoomRotate: !0,
|
|
26105
26105
|
dragPan: !1,
|
|
26106
|
-
maxBounds: void 0
|
|
26106
|
+
maxBounds: void 0,
|
|
26107
|
+
// Quitar controles
|
|
26108
|
+
attributionControl: !1
|
|
26107
26109
|
}), Je.current = at, at.on("load", async () => {
|
|
26108
26110
|
if (at)
|
|
26109
26111
|
try {
|