Documentation & Knowledge Base

Documentation & Help

Find instructions, guides, and answers to your questions regarding the use of the Gismatrix platform.

Compare Layers

The Compare layers tool enables interactive side-by-side visual comparison of two sets of map layers using a draggable swipe divider directly on the map. By sliding the divider left and right (or up and down), you can compare historical and current orthophoto imagery in real time, monitor spatial changes, verify cadastral boundaries against field imagery, or compare different thematic maps and Digital Elevation Models (DEM).

Activating, Editing, and Turning Off Comparison

You can access the tool from the map context menu:

  • Desktop devices: Right-click anywhere on the map canvas.
  • Mobile devices (phones and tablets): Tap the context menu button in the top-left corner of the map.

Depending on the current state, the following menu items are available (at least two layers must be present on the map):

  • Compare layers... — Opens the configuration dialog to select layers and start comparing.
  • Edit layer comparison... — Available while layer comparison is active; allows you to quickly modify the assigned layers or swipe direction without turning the mode off first and without losing your current divider position.
  • Turn off layer comparison — Immediately removes the swipe divider and renders all visible layers across the entire map viewport.

Configuring Layer Comparison

In the Compare layers dialog, specify which layers appear on each side of the divider and choose the swipe orientation:

  • Left side layers / Top side layers: Click Add to assign one or more layers to be rendered exclusively to the left of the vertical divider (or above the horizontal divider).
  • Right side layers / Bottom side layers: Click Add to assign one or more layers to be rendered exclusively to the right of the vertical divider (or below the horizontal divider).
  • Horizontal swipe (Top / Bottom): By default, the divider splits the map vertically (Left / Right). Checking this option switches to a horizontal divider (Top / Bottom) and dynamically updates the section headings in the dialog.

Layers in the dropdown lists that are currently turned on (visible) in the Layer Control are prefixed with an asterisk (*) for quick identification. A single layer cannot be assigned to both sides at the same time.

Important — Selected Layers Must Be Visible:
For layer comparison to produce a visible effect on the map, the selected layers (as well as any parent layer group) must have their visibility turned on in the Layer Control. Layers with visibility turned off are not rendered on the map, meaning moving the divider will show no change for those layers. If you confirm the dialog with one or more currently hidden layers selected, Gismatrix will automatically notify you and offer to turn their visibility on immediately.

Interaction with Layer Control and Labels

Layer comparison works seamlessly alongside the visibility settings and drawing order in the Layer Control:

  • Shared layers (basemaps and overlays): Any layer not added to either list remains visible across the entire map on both sides of the divider. For example, you can keep a shared basemap at the bottom or keep parcel boundaries and address labels on top while swiping between two thematic or raster layers in between.
  • Independent visibility control: Comparing layers never locks your layer visibility states. While comparison is active, you can freely turn individual layers or groups on and off and adjust their translucency in the Layer Control. Keep in mind that a layer will not appear on its assigned side if you turn its visibility off in the Layer Control or if the map is zoomed outside the layer's configured resolution range (indicated by a purple visibility icon) — as soon as you re-enable visibility or zoom within range, the layer will be displayed again.
  • Supported layer types and labels: The swipe divider works with all layer types — vector layers, web services (WMS, Tiled WMS, WMTS, XYZ, OpenStreetMap), and local or cloud raster layers (GeoTIFF / COG, including GPU-accelerated WebGL layers). Dynamic text labels and line direction arrows belonging to assigned vector layers are automatically clipped along the divider in real time.

Using the Divider and Saving to Workspace

After clicking OK, a divider line with a central drag handle (↔ or ↕) appears on the map. Drag either the line or the handle with your mouse or finger to reveal and compare content on either side. All standard map interactions — panning, zooming, rotating, measuring, querying features, and drawing — remain fully functional, and the split view is also preserved when exporting map images (Export map).

Your comparison configuration (selected layers, swipe orientation, and last divider position) is stored directly in the active Workspace:

  • When maintaining application state is enabled, reopening Gismatrix or switching back to the workspace automatically restores the comparison view at the exact divider position you left it.
  • Users with workspace editing permissions can save the workspace via Save workspace to share a pre-configured comparison view with other users of the application.