setRegion

defines what area will be displayed on geochart

void setRegion(string region);

Parameters

regionstring"world"|"011"|"AU"|"US-AL". See the details

Example

$$("map").setRegion("world");

Details
  • "world" - (default) shows the entire world.
  • a continent or a sub-continent, specified by its 3-digit code, e.g., '011' for Western Africa.
  • a country, specified by its ISO 3166-1 alpha-2 code, e.g., 'AU' for Australia.
  • a state in the United States, specified by its ISO 3166-2:US code, e.g., 'US-AL' for Alabama.

See the details in the Google GeoChart documentation.

See also
Back to top