How to show or hide loaded layers with layer_loop?

How to show or hide loaded layers with layer_loop?

Answers

  • bmg_bob
    bmg_bob Global Mapper Programmer
    edited February 2016
    Within a layer loop, you can use the following command to hide a layer:
    
     SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME_W_DIR%" HIDDEN=NO
    
    Use HIDDEN=YES to show a layer.  For a more detailed sample, see the LAYER_LOOP_START documentation.