Global Mapper v25.0

Hide layer group

AndreaR
AndreaR Global Mapper UserTrusted User
edited June 2014 in GM Script Language
Hi Mike,

If use in my script this command for hide a single layer it works:

SET_LAYER_OPTIONS FILENAME="*aerialway - chair_lift*" HIDDEN=YES

But if i use this command for hide a layer Group named "SCONOSCIUTE - (Linee)" not hide anything:

SET_LAYER_OPTIONS FILENAME="*SCONOSCIUTE - (Linee)*" HIDDEN=YES
i tryed also
SET_LAYER_OPTIONS FILENAME="*OSM - LINEE*<sub>*SCONOSCIUTE - (Linee)*" HIDDEN=YES

This is the tree:

LAYER GROUP NAMED OSM - LINEE contain LAYER GROUP NAMED SCONOSCIUTE - (Linee) that contain LAYER aerialway - chair_lift

There is other command for hide Group of layer?

Thanks

Andrea

Comments