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 Adicionar o seu próprio código 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.

Mascarar camadas individuais

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.

Este recurso pode ser utilizado para:

Criar um mapa de enquadramento

Para adicionar um mapa de enquadramento*, ou mapa de localização, a um mapa Lizmap, deve:

  • Create an independent group in the QGIS project called Overview (with the 1st letter capitalized)

  • Adicionar camadas, por exemplo, uma camada de municípios, uma camada base respeitante ao terreno, etc.

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.

É aconselhável utilizar:

  • camadas vetoriais leves e simplificadas (se necessário)

  • utilize uma simbologia adequada: traços pequenos e etiquetas simples ou ocultas

Nota

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

Aqui está um exemplo de utilização:

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