diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html index d796e2a..16b9abb 100644 --- a/layouts/shortcodes/world-map.html +++ b/layouts/shortcodes/world-map.html @@ -123,7 +123,7 @@ }); } }); - ctx.fill('evenodd'); + ctx.fill('nonzero'); // Pass 2: overdraw colored countries only geoData.features.forEach(function(f) { @@ -154,7 +154,7 @@ } else if (geom.type === 'LineString') { traceLine(ctx, geom.coordinates, sx, sy); } - if (fill) ctx.fill('evenodd'); + if (fill) ctx.fill('nonzero'); else ctx.stroke(); }