3

I have a QGIS project that includes a grid decoration. Is it possible to display this decoration only when zoomed in? I.e. can decorations in QGIS have scale dependent visibility?

4

Yes, you can use the Datadefined override of the symbol which you use for your decoration. Open the symbol properties, then go to the line symbol and overide the color with this expression. It will make the line transparent if the scale will be less then 1:50.000 else it will be red:

if( @map_scale > 50000,  color_rgba( 255,0,0,0),color_rgba(  255,0,0,100))

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.