Changes between Version 3 and Version 4 of maestro/MaestroAPI/samples/AddInitialLayer
- Timestamp:
- 10/14/08 07:51:16 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
maestro/MaestroAPI/samples/AddInitialLayer
v3 v4 62 62 Dim maplayers as new List(Of MapLayerType)(mapDef.Layers) 63 63 maplayers.Insert(0, layer) 64 mapDef.Layers = new MapLayerTypeCollection(); 65 foreach (mlt as MapLayerType in maplayers) 66 mapDef.Layers.Add(mlt); 64 mapDef.Layers = new MapLayerTypeCollection() 65 For Each mlt as MapLayerType in maplayers 66 mapDef.Layers.Add(mlt) 67 Next 67 68 68 69 'Generate a temporary MapDefinition id