Closed silentDjay closed 6 years ago
This is done. There are about 8 different ranges of area that are mapped to a specific zoom level; countries that are larger require less zoom. I've also taken the map projection into account when revealing arctic northern countries.
land area is included in the data payload for restcountries. Use it to dynamically calculate an appropriate google maps zoom level per target country - so that the entire country fills an appropriate amount of the screen and the country's map label is visible.