I would like to hide some layers in that little preview map on the left bottom corner? See image. I would like to hide the city and country names as well as the airports-layer...
2 Answers
Here are two ways to do this:
- In print composer, select the map item, check the data defined override button for "set layer list from a map theme" and list the layers by their names you want to show, separated by a
|
as string. E.g.'layer1|layer3|layer6'
- Check the layers you want to show as visible in your main map canvas. Then go to your print composer, select the map item, and check the box "Lock layers". Once you have done this you can reactivate your other layers again in the main map canvas.
- I guess you can also use map themes, but I have never used them before, so I cant really tell how to at the moment.
You can use map themes:
- in the layertree you can define combinations of visible layers as so called map themes:
- in the print composer you can follow these themes for each map: