Display layer on top.

mg.srikanth
mg.srikanth Global Mapper User
edited November 2012 in SDK
Hi,
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?

Comments

  • global_mapper
    global_mapper Administrator
    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.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • mg.srikanth
    mg.srikanth Global Mapper User
    edited November 2012
    Thanks Mike.