Display layer on top.

mg.srikanthmg.srikanth Global Mapper UserPosts: 27
edited November 2012 in SDK
I have added new area feature in a separate layer after adding all shape files with custom colors solid filled, but the new area feature is not getting displayed, I could find out that the added area feature is drawn behind all other layers.
How can I draw the layer on top of all loaded layers so that the new added layer should be visible?


  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    The GM_DrawLayerList function can take a list of the layers to draw, so you can provide the layers explicitly in the order that you want to draw them. Also provide the draw flag GM_DrawFlags_SeparateVectorLayers so that the vector layers are drawn individually rather than all drawn together and sorted by type.


    Global Mapper Guru
  • mg.srikanthmg.srikanth Global Mapper User Posts: 27
    edited November 2012
    Thanks Mike.
Sign In or Register to comment.