Unload All.. through SDK?

aksel.schmidtaksel.schmidt Global Mapper UserPosts: 8
edited January 2011 in SDK
Hi

Is it possible to do a 'Unload All...' through the SDK?
We could use GM_CloseLayer - but what we really want is to start a new import from scratch

Thanks!

Best regards,
Aksel,
Denmark

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2011
    Aksel,

    Yes, just use the UNLOAD_ALL script command.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2011
    Aksel,

    Sorry I mis-read your email. There isn't an UNLOAD_ALL for the SDK, but since with the SDK you should be tracking the layers that you have loaded, just loop through them and call GM_CloseLayer for each layer.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
Sign In or Register to comment.