Highlight countries

In this example we explain how to create a beautiful map zoomed on specific countries. For this map we will use the world map and highlight Mexico and Honduras.

The map we are going to create has this url:


You can easily test every step yourself by copying the url and pasting it in the url bar of another browser tab or window.

world countries - Mexico and Honduras

Creating this map

In 3 simple steps we get to our final result:

1. Select a base map

world countries - all areas

We start with the base map. From the urlmaps list of available maps we select the World countries map (map id 31).


2. Zoom on the areas

world countries - mexico and honduras

We add the a-param with the area codes of Mexico and Honduras, separated by | (pipe).


3. Color the areas

world countries - color mexico and honduras

We add colors to the countries by specifying the color after the country, separated by colon.