Changes between Version 3 and Version 4 of maestro/MaestroAPI/samples/AddInitialLayer


Ignore:
Timestamp:
Oct 14, 2008, 7:51:16 AM (16 years ago)
Author:
ksgeograf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • maestro/MaestroAPI/samples/AddInitialLayer

    v3 v4  
    6262Dim maplayers as new List(Of MapLayerType)(mapDef.Layers)
    6363maplayers.Insert(0, layer)
    64 mapDef.Layers = new MapLayerTypeCollection();
    65 foreach (mlt as MapLayerType in maplayers)
    66     mapDef.Layers.Add(mlt);
     64mapDef.Layers = new MapLayerTypeCollection()
     65For Each mlt as MapLayerType in maplayers
     66    mapDef.Layers.Add(mlt)
     67Next
    6768
    6869'Generate a temporary MapDefinition id