Global Mapper Pro Coming Soon

Displaying two different maps in the same page

bbdaffybbdaffy Global Mapper UserPosts: 1
edited December 2009 in SDK
Hi,

I'm a newbie to Global Mapper, so not sure whether I am asking a stupid question here. But appreciate any help rendered. Basically I have a Windows application written in C# and WPF. I have successfully created a UserControl which utilises the GlobalMapper SDK to display a map and drawn some symbols on it as well. But my application requires more than one UserControl which displays different maps respectively. Some of these pages may even require to display two different maps at the same time. How can I do this? It will be greatly helpful if there can be some code snipplets or samples as well. Thanks in advance.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited December 2009
    You can do that pretty easily, you'll just need to pass a list of the layers to draw for a given map control to the GM_DrawLayerList function rather than passing NULL to have all layers draw.

    Let me know if I can be of further assistance.

    Thanks,

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