todos-contra-el-fuego-web/imports/ui/components
vjrj e5f7a0f4be fix(maps): entregar el mapa solo cuando tiene tamano real (MapReady)
MapReady entregaba el mapa en el useEffect de montaje, cuando el contenedor
puede no tener tamano todavia. En FiresMap eso hacia que getBounds() lanzara;
el catch solo avisaba ("Failed to set map bounds and scale") y mapSize nunca
se seteaba, con lo que la suscripcion de fuegos por viewport NI SE CREABA:
loading eterno y tile-pane vacio (0 capas) pese a haber 7470 fuegos.

Evidencia: en Meteor.connection._subscriptions solo aparecian activefirestotal,
activefiresuniontotal, settings y userData — ninguna por localizacion.

Ahora se entrega via map.whenReady() + invalidateSize(), solo cuando getSize()
no es 0, con reintento en el evento resize y entrega unica (flag delivered).

Toca el componente compartido por todos los mapas: al desplegar hay que
re-verificar /fires, /zones, /subscriptions, home y detalle de fuego.
SIN DESPLEGAR todavia (la imagen viva es la de 01:33, sin este cambio).
2026-07-28 07:46:19 +02:00
..
AccountPageFooter scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
Authenticated deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00
AuthenticatedNavigation deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00
BetaRibbon deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
CenterInMyPosition deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Chronos Site settings and fires fromNow Reactive 2018-01-29 11:30:17 +01:00
Col deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Comments deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Content scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
CookieConsent meteor3: purge dead client packages — web UI renders on 3.1 2026-07-14 11:32:19 +02:00
DistanceSlider deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
DocumentEditor deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
ErrorBoundary Against the Fire 2018-03-05 12:04:55 +01:00
Feedback bootstrap: swap BS4 (alexwine) CSS for bootstrap@5 npm 2026-07-22 05:55:34 +02:00
Footer deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
FromNow bootstrap: swap BS4 (alexwine) CSS for bootstrap@5 npm 2026-07-22 05:55:34 +02:00
History deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00
Icon add last minute tweaks found while writing docs 2017-06-13 08:12:26 -05:00
InputHint scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
Loading refactor: LoadingBar via progressbar.js + ref (drops react-progress-bar.js findDOMNode) 2026-07-21 14:24:32 +02:00
LocationAutocomplete bootstrap: BS5 sweep follow-ups (form-group, drop popper.js@1) 2026-07-22 10:12:49 +02:00
Maps fix(maps): entregar el mapa solo cuando tiene tamano real (MapReady) 2026-07-28 07:46:19 +02:00
Navigation bootstrap: swap BS4 (alexwine) CSS for bootstrap@5 npm 2026-07-22 05:55:34 +02:00
NavItem bootstrap: navbar collapse jQuery -> React state (BS4->5 prep) 2026-07-21 23:04:02 +02:00
NotificationsObserver Mobile notifications 2018-08-02 12:42:19 +02:00
OAuthLoginButton bootstrap: swap BS4 (alexwine) CSS for bootstrap@5 npm 2026-07-22 05:55:34 +02:00
OAuthLoginButtons scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
PageHeader cleanup: defaultProps -> JS default params on our function components 2026-07-21 13:54:02 +02:00
Prompt deps: react-bootstrap 0.31 -> 2 (Bootstrap 5 CSS deferred as debt) 2026-07-21 12:44:46 +02:00
Public deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00
PublicNavigation deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Reconnect refactor: Reconnect banner Blaze -> native React (drops findDOMNode) 2026-07-21 14:08:52 +02:00
ReSendEmail cleanup: defaultProps -> JS default params on our function components 2026-07-21 13:54:02 +02:00
SelectionMap deps: react-leaflet 1.8 -> 4.2 (+ leaflet 1.9) — the last legacy react-* lib 2026-07-21 18:45:15 +02:00
ShareIt deps: react-share 2 -> 5 (drops its defaultProps warnings) 2026-07-21 14:14:48 +02:00
SubscriptionEditor deps: i18next 10 -> 23, react-i18next 7 -> 14 2026-07-18 06:28:41 +02:00
Utils deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00
withRouterCompat deps: react-router-dom 4 -> 6 (history 5, react-router-bootstrap 0.26) 2026-07-21 13:00:15 +02:00