How to highlight specific country on your map

Map design Highlighting features on maps

This set of articles represents a recommended selection of Highlighting features on maps examples.

  1. How to style individual buildings
  2. How to highlight specific national boundary on your map
  3. How to highlight specific country on your map
  4. Masking features in MapTiler Cloud

This article provides a detailed step-by-step tutorial on how to highlight a specific country in any map that you use in MapTiler Cloud. The tutorial works with the Dataviz style map and with the MapTiler Countries tileset. This process is also very useful when working with the GEOlayers 3 plugin for Adobe After Effects.

Read more about Countries if you need general information or see schema documentation.

Highlight a specific country on your map

1. Create new map

  • Go to MapTiler Cloud
  • Open the Maps section
  • Click on NEW MAP
  • Keep in mind that there are also other ways how to edit a map, e.g. you can choose to upload your style or create a new one from scratch (under the drop arrow)

Countries_1.png

2. Select the base map for the context

  • Click on the Simple tab
  • Select Dataviz
  • Click on Customize

Countries_2.png

3. Add a new data source to your map

  • Click on Data Sources (Alt + D) button on the left panel
  • Click on `+` sign (Alt + N)

Countries_4.png

4. Select the Countries tileset from the list

Countries_6.png

5. Add a new layer

  • Click on the Layers (Alt + L) button on the left panel
  • Click on `+` sign (Alt + N)
  • Select Layer

Countries_8.png

6. Select the administrative layer under Countries tileset

Countries_9.png

7. Filter Canada

  • iso_a2 = CA
  • level = 0
    • level attribute contains the hierarchical order of the administrative divisions (0 stands for country)
  • Filters could be changed in the future
  • See the schema documentation

Countries_13.png

8. Name your new layer

For example Canada

Countries_14.png

9. Change the color of layer Canada

  • Find the Canada layer under the Administrative block
  • Change the color on #A1FF00

Countries_15.png

10. Move the Canada layer e.g. under the Stadium layer

  • Under the Layer (Alt + L) button at the left panel
  • Click on the Verticality tab at the bottom
  • Drag the Canada layer and drop it on desired place

Countries_16.png

11. Save the default view of the map

  • Under Settings (Alt + S) button at the left panel
  • Click on Set current View button

Countries_16b.png

12. Save the map to your account

Set the name on Canada Dataviz

Countries_17.png

13. Publish the map

Countries_18.png

14. Confirm the publishing

Countries_19.png

15.  Close the Customize and use the link to share, or implement it into your websites

Countries_20.png

Next steps

Continue to Masking features in MapTiler Cloud to learn how to highlight a particular country by masking others using the MapTiler Cloud Customize and the Countries tileset.

MapTiler Countries Dataset
MapTiler Countries Schema
Join MapTiler Countries with custom data