Changes between Version 2 and Version 3 of maestro/MaestroAPI/samples/AddInitialLayer
- Timestamp:
- 10/14/08 07:47:34 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
maestro/MaestroAPI/samples/AddInitialLayer
v2 v3 59 59 60 60 'Add the layer to the MapDefinition 61 mapDef.Layers.Add(layer) 61 'Unfortunately we cannot control the order at this time, so we do it manually 62 Dim maplayers as new List(Of MapLayerType)(mapDef.Layers) 63 maplayers.Insert(0, layer) 64 mapDef.Layers = new MapLayerTypeCollection(); 65 foreach (mlt as MapLayerType in maplayers) 66 mapDef.Layers.Add(mlt); 62 67 63 68 'Generate a temporary MapDefinition id