Template:Graph:Map/doc

This template is used to create a world choropleth map where certain countries are highlighted as needed.

Parameters
"KOSOVO", "NORTHERN_CYPRUS", "SOMALILAND" must be used.
 * basemap: Sets the base file to be used for getting the JSON data and creating boundaries. Optimally, this would mean that it would be easy to change files as needed for different administrative divisions, but it is currently reccomended not to use that parameter and allow the template to keep its default value.
 * [any two digit country code (must be uppercase)]: Sets the color that that country will be in on the map (for example  would color Italy green and   would color Chad in the color produced by hex RGB code #f53aaa ). The template uses ISO 3166-1 alpha-2 for the country code. There are, however, some exceptions for (partly) unrecognized states:
 * scale: Sets the size of the map. There is no exact width-height control available. By default, this is set to 90.
 * projection: Sets what projection the map will use. By default it is set to equirectangular. Here are some available projections - be warned that not all of them work.

Usage
(note that French Guiana is also colored in)

Because of Lua functionality, you can now make maps with numerical values and sliding color scales.

Examples
- Map of Japan Airlines destinations

Issues
Very small countries (Singapore, Vatican City) and supranational groups aren't shown on the map. Also, unless if the map is in its own template, it is hard to get a bigger version to show up.

Subtemplates

 * Template:Graph:Highlighted world map by country/Inner – Inner template handling graph data, harder to modify depreciated for a Lua based solution