Bookmark and Share Share   

Geo Map

Use this view to display one set of numeric statistics for one or more countries within a map of a specific region or of the entire world. Numeric values display as a gradient of a color, from light to dark corresponding to lowest to highest values.

See Characteristics and Configure This View for more information. To map multiple statistics for countries, see the Intensity Map view.



Characteristics

Requirements
  • A set of repeating items that each must contain:

    • A field with an ISO 3166 Alpha 2 country code. These are two-character codes maintained by the International Standards Organization for countries of the world. See the ISO 3166-1 Alpha 2 Country Codes section (following) for more information and suggestions.

    • At least one other field with a number to use as the intensity statistic to render in the map.

Published Events
  • select = a user clicks on one of the countries displaying an intensity in the map

  • region-click = a user clicks on one of the regions in the map

Mobile Views

No

Configure This View

  1. If needed, change the path to the items you want to map in Select the Record in Configure Data.

  2. Drag the field that contains the ISO 3166-1 county codes to the Country Column.

  3. Drag one field with statistics to render in the map to the Column field.

  4. Choose the area of the map to use in the Region field. This defaults to World, but you can select a specific continent, portion of a continent or the United States instead.

  5. Preview the map and save the view.

ISO 3166-1 Alpha 2 Country Codes

The most common problem you may encounter using this view is that the results for your mashable or mashup have country names, but do not contain the ISO 3166-1 Alpha-2 country codes that this view requires. You can find these codes for either English or French country names at http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm.

The easiest solution is to download these codes as an XML file (from the previous link) and register this XML file as a mashable information source. You can then use this mashable in mashups to add the specific ISO country codes to the results of other mashables or mashups, such as this example:



This mashup uses the Join block to compare the country codes from the results of a mashable to the country names in the ISO county code data. ISO country names are fully capitalized, so it is usually better not to do case sensitive comparisons.