I have a layer with locations. I want to display this on a layout that has a map at a small scale (main map) and an inset map at a bigger scale. I do not want to show on the main map the symbols that appear on the inset map.
From what I have read, I should use rule-based symbols and make them not show at a smaller scale, but that would affect all the symbols, including the ones that I do want to show on the main map. How do I limit it to those that appear on the inset map?
The locations that I only want to show on the inset map are "marked" as explained here Removing labels from area that is also shown on inset map with QGIS
Create a new attribute called
labelwith field calculator and set it's value to
0for the selected ones (where labels should be hidden on the main map), to
1for all others (where labels should always be shown).
- Apply scale dependency to point layer for only certain records in QGIS?
- Is it possible to set different scale dependent visibility for one layer classifications?
The picture shows what I want to achieve.