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.

Clickable links in map tooltips

In the Pro version of the plugin you can enable the option to have your tooltips be ‘fixed’. This will prevent the tooltips from following the mouse movements and remain fixed in the same place, allowing also for you to hover its content and therefore click any links the tooltip might have.

Here’s a simple example of tooltips in markers and regions with clickable links.

To replicate this behaviour, you simply need to go to the Tooltip tab and enable the option ‘Fixed’.

Creating COVID-19 Heat Map for Specific Countries

If you’re using the plugin to create maps for individual countries with data about the new coronavirus (COVID-19), here are some tips on how to do it.

Portugal confirmed cases by municipalities

March 26 2020

Updated on March 26th, 14:00
Municipalities with less than 3 cases are not included

March 25 2020

Updated on March 25th, 21:00
Data only represents ~50% of total confirmed cases.

Getting the data

The data available might not be formatted the way you want. If you’re displaying a small country with a small number of regions, you can add the data manually to each region. In the example above for Portugal, the data is released in a table in PDF format, so it’s not available to be used directly by the plugin. I first needed to convert that data into JSON and then use it as a custom data source for the map. Consider the id property of your JSON entries, should match either the real region ID or the name. The plugin won’t be able to recognize entries that don’t match either.

I wrote a couple of other articles on how to use external data sources to feed the map automatically, but this will require javascript knowledge.

Creating the Map

Once you know where you’ll get the data from and have selected the map, you can create it. Here are some links that will help:

If you have any question feel free to leave a comment below or contact me.

Modified maps of Portugal

The plugin comes with more than 200 maps created automatically with real geographic data. However some countries might not be composed of a unified mass of land, they include islands or other territories. This is the case for the US (Alaska and Hawaii) and also for Portugal, which includes some islands in the middle of the Atlantic ocean. For this reason I have included some modified maps of Portugal in the plugin. Below are some examples.



Original Map

If you compare the maps above with the original map below, with real positioning of the islands, you’ll understand why having a custom modified map is important to improve the way the map displays and the user interacts with it.

However, these modified maps have a small disadvantage: if you plot markers using coordinates for the real location of a city in one of the islands, the marker will not display. You will need to use the adjusted coordinates of the ‘new’ location of the islands. But this can be easily done when creating the map by simply clicking the location where you want the marker to be placed. The map edit interface will give you the coordinates of the location clicked.

In addition to the modified maps above, I also included some maps for specific cities. The plugin includes maps with the ‘regions’ of the 2 biggest Portuguese cities: Porto and Lisbon.



These are just examples of what’s possible to do with the plugin. In any of the above maps you can set click actions, change the region colours and set hover colours. See the full list of included features.

Future versions of the plugin will probably include even more maps for Portugal. If you have any special request of a city or region in Portugal, feel free to leave a comment below or contact me.