移动端10 i ios 开启坐标投影之后无效果 下载的图层数据加载不到底图上
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *fileName = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"WorkSpace.smwu"];
m_Info = [[WorkspaceConnectionInfo alloc]initWithFile:fileName];
m_Info.type = SM_SMWU;
NSLog(@"%ld", [m_workspace open:m_Info]);
// [m_workspace open:m_Info];
m_mapControl.map.dynamicProjection = true;
m_map.dynamicProjection = true;
m_mapControl.map.dynamicPrjTransMethond = MTH_COORDINATE_FRAME;
[m_mapControl.map setWorkspace:m_workspace];
m_mapControl.action = SELECT;
m_mapControl.delegate = self;
m_mapControl.mapEditdelegate = self;
m_mapControl.MapMeasureDelegate = self;
m_mapControl.GeometrySelectedDelegate = self;
m_mapControl.map.layers.layersdelegate = self;
[m_mapControl.map open:[m_workspace.maps get:0]];
Layer *layer = [m_mapControl.map.layers getLayerWithName:@"ycsyimg@iServerREST_img"];
Layer *layerOne = [m_mapControl.map.layers getLayerWithName:@"ycsyvec@iServerREST_vec"];
layer.visible = true;
layerOne.visible = true;
这个是底图 dynamicProjection也已设置ture