doxa-maps/plugin-designs/country-map
Doxa Maps 7b06dc95a7 No country codes means no pins, not every pin on earth
country-map filtered its fetched groups to the countries it was given, and fell
through to the UNFILTERED list when it was given none. So a host that omits the
attribute, misspells it, or passes a value that is neither an array nor a
comma-string got the entire global list drawn on an element whose whole contract
is one country.

Measured against the shipped country data: 2,106 groups across 175 countries,
where a typical country has 1 and the largest has 855. And the child's fill
expression matches nothing on an empty list, so those pins arrive with no
country outline at all -- a wall of worldwide dots that looks like data rather
than like the misconfiguration it is.

Empty now draws nothing, and says why in the console, addressed to whoever
embedded the element: this is a missing attribute rather than a data state, so
it does not belong in a translated sentence on the page. It sits beside the
fetch error that was already logged there.

Verified in the built bundle, not the source: the minified output carries
`E.size||console.error(...)` and the empty branch compiles to [].

Probe in _qa-cycle reads the filter expression out of the component and
exercises it. Mutation-tested: restoring the fall-through makes it report 3 pins
where it wants 0, and it passes only with the fix.
2026-09-29 07:07:48 +00:00
..
country-map.meta.json A country map you can drop on one page, without the dashboard around it 2026-09-29 01:38:07 +00:00
country-map.vue No country codes means no pins, not every pin on earth 2026-09-29 07:07:48 +00:00
index.html A country map you can drop on one page, without the dashboard around it 2026-09-29 01:38:07 +00:00
index.js A country map you can drop on one page, without the dashboard around it 2026-09-29 01:38:07 +00:00