Talk:MapWinGIS:AxMap AddLayer
From MapWindow GIS
Something to consider here. When you are adding a layer to a map it is often helpful to capture the handle of the layer that is the return value of the function. That would be an Integer (.NET) or Long (VB6). Store this value so that you can refer to the layer later via its handle. Also, it is useful to set the visibility to false when you add the layer. This way, you can add the layer, change it's properties (such as line color) and then set the visibility to true.
















