i'm updating a SOE from pre 10.1 arcgis server to arcgis server 10.2.2.
The orginial code included the following part, which is not working anymore:
IMapServer3 mapServer = serverObjectHelper.ServerObject as IMapServer3; IMapServerObjects3 mapServerObjects = mapServer as IMapServerObjects3; IMap map = mapServerObjects.get_Map(mapServer.DefaultMapName);
I found that pre 10.1, this code would only work for MXD and not for MSD documents. ESRI says this:
All map services now use the fast drawing engine that was associated with MSDs in versions 10.0 and previous.
So it seems logic this piece of code would not work anymore. Anyone has an idea on how I get my IMap variable in 10.2?