v4.0
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.