#PluginFridays: MapSwipe Tool

29 Mar 2019 ᛫ 2 min read


Swiping (apologies to Dora the Explorer) is a simple way to show the difference between two layers or highlight changes over time. I’ve found that this neat trick is very effective in grabbing people’s attention or getting a reaction from them. It’s a common feature you can see in webmaps using Leaflet and Mapbox. This functionality is also available in desktop GIS like GRASS through the Map Swipe and QGIS via the MapSwipe Tool plugin

If you don’t know how to install plugins yet, you can check-out this post for QGIS 2 and this post for QGIS 3.

The Plugin

You can install the MapSwipe Tool plugin via Plugins -> Manage and Install Plugins.

MapSwipe Tool plugin

How to use

The plugin is used in a very straightforward manner. For my example below, I’m using two XYZ maps (Google Satellite and Bing VirtualEarth). The plugin works for both vector and raster layers.

  1. Select the layer that you want to swipe on the Layers panel.

    Select layer in Layers panel
  2. Activate the plugin by clicking the MapSwipe Tool icon in the Plugins toolbar or via Plugins -> Map swipe tool -> Map swipe tool. Note that this will unselect/disable your layer as well.

    MapSwipe Tool in Plugin toolbar
    MapSwipe Tool in Menu bar
  3. Drag your mouse to swipe the selected layer. You can swipe horizontally or vertically.

    Swiping with the plugin
  4. Once finished, click the icon again to deactivate the plugin.

    Deactivate the plugin

That’s it. You can use the MapSwipe Tool on your next mapping project. #HappyMapping!

comments powered by Disqus

You may also like:

Towards a spatial analysis of shooting in Philippine basketball (FOSS4G2021)

01 Oct 2021 ᛫ 1 min read

The opposite of free/libre and open source isn't commercial, it's proprietary

27 May 2021 ᛫ 2 min read

Towards a Spatial Analysis of Philippine Basketball: Applications in the UAAP MBT (Season 81) [Part 1]

02 May 2021 ᛫ 4 min read

Win and let win: On being unconventional, openness, and building communities

30 Apr 2021 ᛫ 1 min read

QGIS Styles based on HLURB Land Use Categories and Color Coding (CLUP Guidebook Vol 3, 2014)

15 Dec 2020 ᛫ 2 min read

Support BNHR

If you find my website or any of the materials I share useful, you can consider donating to the cause below.

Donate and support BNHR


[email protected]

Creative Commons License
Except when explicitly stated otherwise, this work and its contents by Ben Hur S. Pintor is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Other works (software, source code, etc.) referenced in this website are under their own respective licenses.
This site is powered by Jekyll and hosted on Github (view source)