摘要: private IFeatureLayer AddFeatureLayerByMemoryWS(AxMapControl pMapCtrl, ISpatialReference pSReference){try{if (pMapCtrl == null)return null;//创建新的内存工作空间IWorkspaceFactory pWSF = new InMemoryWorkspaceFac... 阅读全文
posted @ 2012-06-21 18:52 千禧牛 阅读(492) 评论(0) 推荐(0)
摘要: //获取地图服务上下文 IServerContext pServerContext = pSOM.CreateServerContext("分幅地图/25", "MapServer"); IMapServer pMapServer = pServerContext.ServerObject as IMapServer; ... 阅读全文
posted @ 2012-06-21 18:52 千禧牛 阅读(488) 评论(0) 推荐(0)