Global Mapper Pro

Hide a layer instead of closing it

dzsbp Global Mapper User
edited November 2009 in SDK

I have a simple question; is there a way to make one loaded layer invisible or hidden instead of closing it?

Because in my project there will be several layer opened in the same time, but it's very often needed to show only a certain number of layers. Later, of course, the user could make it visible again with a checkbox.

This way the work with the map could be faster, because opening and re-opening a layer needs a lot of time (we have layers in size between 100 and 400 megabytes).

Thanks in advance!


  • STH
    STH Global Mapper User Trusted User
    edited November 2009
    In the newest v11.01 there is a keyboard shortcut. If you toggle V on and off you turn ALL the VECTOR-layers on and off. Not sure if it helps - but for me this is very usefull
  • global_mapper
    global_mapper Administrator
    edited November 2009
    In the SDK, use GM_SetLayerEnabled to disable the display of a loaded layer without closing it.

    Let me know if I can be of further assistance.


    Global Mapper Support
  • dzsbp
    dzsbp Global Mapper User
    edited November 2009
    STH, thanks for your reply!

    Well, actually I was looking for the solution within the SDK, and Mike has given me the answer..:)

    Thanks guys!
Sign In or Register to comment.