Legend

Groups

You can create groups in your legend. Lizmap will use them too in the web interface.

If you want to collapse some groups by default, you need to use a JavaScript snippet, see Adding your own JavaScript.

Theme switcher

This is a feature in Lizmap 3.4.

Lizmap allows you to display and switch between themes configured in QGIS. To create your themes, follow QGIS documentation https://docs.qgis.org/latest/en/docs/user_manual/introduction/general_tools.html#configuring-map-themes.

Masking individual layers

You can exclude layers of your publication with the QGIS Server tab of the QGIS project properties. In this case the layers will not be available in Lizmap at all. With this method, you cannot use a layer in the locate by layer function and not display in the map.

To overcome this lack, Lizmap offers two simple ways to not display some layers only in the legend :

  • Either create a group in your legend called hidden and put your layer into this group. This group (and its layers) won’t be displayed in the Lizmap legend.
  • Or use the check box Hide in legend in Lizmap ‣ Layers for the specific layer.

This feature can be used for:

Creare una mappa di inquadramento

Per aggiungere una mappa di inquadramento, o mappa di localizzazione, all’interno della mappa di Lizmap, è necessario:

  • Create an independent group in the QGIS project called Overview (with the 1st letter capitalized)
  • Add layers, ad esempio il livello relativo ai limiti amministrativi, una cartografia di base semplificata, ecc.

All layers and groups in the Overview group will not be shown in the Lizmap’s map legend. They are drawn only in the Overview map.

Si consiglia di utilizzare:

  • livelli vettoriali leggeri e semplificati (dove necessario)
  • usare una simbologia adatta: linee sottili e semplici o etichette nascoste

Nota

The location map will use the extent of the WMS Capabilities, Project Properties -> QGIS Server -> WMS.

Di seguito un esempio di utilizzo:

../../_images/features-overview.jpg