Subdividing USA states to create custom regions

If you need to create sub-regions of a state in the US map, one approach could be to create individual state maps, where you create groups of regions with counties and they overlay those maps in the main US map. The result could be something like the example below:

The result is not perfect, but it’s usable in most scenarios.

This is achieved by using the individual county codes in a single region entry, in the state map:

Subdividing USA states to create custom regions

In addition to creating groups, in the individual state map of the example below, we also set the borders to be 0px, so that the state borders are less visible. If you have the groups coloured the same way, you can set the border colour to be that same colour, instead of setting it to 0px. Another approach to improve the county borders issue could be to create individual maps for each group and this way you can set the border colour individually for those maps. In the example above you would end up having 3 maps in addition to the base map.

Other solutions to create custom regions, would include the creation of custom geojson files, which might not be so easy.

Iberian Peninsula Map

The Pro version of the plugin allows you to combine different maps, so you could have maps of countries divided by regions combined with their neighbouring countries. In this example we create a map of both Portugal and Spain and combine it in a single map, using the overlay feature.

In this particular example, since both countries have islands that are far from the mainland, the map seems a bit zoomed out. If you only need to display the mainland regions, you could setup a different initial zoom.

Using Custom Maps

The plugin allows you to use custom geoJSON files to create your maps. I have created a custom map for the Iberian Peninsula map using QGIS software and moved the islands closer to the mainland and merged both maps together. I hosted the source file on github so anyone case use them. This is the resulting map below.

This representation of the map has the advantage of having the islands closer and therefore the viewport for map doesn’t make the mainland portion so zoomed out. The disadvantage is that the coordinates for the locations of the islands are not the correct ones and therefore you would need to use different coordinates if you need to add markers.

If you have any question related with this map feel free to contact us or leave a comment below.

Building an Interactive Map of the Roman Empire

It’s always interesting to see how the maps change throughout history, they are one of the most powerful visual ways to see historic information. Below is an example of a map for the Roman Empire, which lasted a few centuries and included large territorial holdings around the Mediterranean Sea in Europe, North Africa and West Asia.

The plugin itself doesn’t include a map of Roman Empire regions, but since we can use custom geoJson files, after some online search I came across a map for it which I then adapted to use with the plugin, also using the overlay option to display it in the normal world map focused on the Mediterranean sea.

Live filter on map with vector icons

The challenge today was to replicate an existing map that a client already had online in a website, but needed more flexibility. Requirements:

For this project we used the overlay technique, which allows us to display multiple maps in the same base map and filter them if necessary either with a legend or an external live filter. So we create 4 maps:

  • Map for International Projects
  • Map for National Projects
  • Map for Biennials
  • Base map, with the 3 maps above in overlay

This is the result:

  • All
  • Bienals
  • International Projects
  • Nacional Projects

It’s worth noting also that we used the option to load content from a raw data source, a specific CSV format. This allowed us to import the data from the already existing map.

If you want to replicate a specific map let us know and we’ll see what we can do.