Skip to content

v4.0

Compare
Choose a tag to compare
@jagomf jagomf released this 08 Dec 21:11
· 30 commits to master since this release

countries-map is now independent from Google GeoCharts! πŸŽ‰πŸŽŠ

(If you prefer to keep underlying Google GeoCharts (really??), stick to countries-map v3)

Features:

  • All the previously existing features but without any wait for third-party (Google) calls πŸ₯³
  • Much higher resolution map
  • All territories which are part of a sovereign country now get the same color

The only downside is that, since we do not rely on Google GeoCharts anymore, distributable size has increased due to allocation of the whole map's SVG. One less call, a few more ounzes...!

Breaking changes:

  • Map projection switched from Mercator to Miller
  • Dropped apiKey attribute; no API keys needed anymore.
  • Dropped options attribute.
  • Dropped autoResize attribute. Auto-resize is now the default behavior.