I wan't to dynamic add cad layer on the map,and export image to display on the flex.
I write a soe like this:
IMap map = ...;
...open cad workspace...
IFeatureLayer cadlayer = ...;
map.addLayer(cadlayer);
...export map ...
use IMap is very convenient to achieve this.
but when i run this code,found in the arcgis 10.1 use .sd to publish service,can't support IMap interface again.
in the 10.1 soe,how to do this work?
is there some other way,i can use IMap,ILayer interface again?