IPropertySet pPropertyset = new PropertySetClass();
pPropertyset.SetProperty("url", "http://t0.tianditu.com/img_w/wmts");//墨卡托影像不可以显示
IWMTSConnectionFactory pWMTSConnectionfactory = new WMTSConnectionFactory();
IWMTSConnection pWMTSConnection = pWMTSConnectionfactory.Open(pPropertyset, 0, null);
IWMTSLayer pWMTSLayer = new WMTSLayer();
IName pName = pWMTSConnection.FullName;
pWMTSLayer.Connect(pName);
axMapControl1.AddLayer(pWMTSLayer as ILayer);
axMapControl1.Refresh();
c#语言 ArcGIS engine 为什么加载墨卡托影像显示不出来
pPropertyset.SetProperty("url", "http://t0.tianditu.com/img_w/wmts");//墨卡托影像不可以显示
IWMTSConnectionFactory pWMTSConnectionfactory = new WMTSConnectionFactory();
IWMTSConnection pWMTSConnection = pWMTSConnectionfactory.Open(pPropertyset, 0, null);
IWMTSLayer pWMTSLayer = new WMTSLayer();
IName pName = pWMTSConnection.FullName;
pWMTSLayer.Connect(pName);
axMapControl1.AddLayer(pWMTSLayer as ILayer);
axMapControl1.Refresh();
c#语言 ArcGIS engine 为什么加载墨卡托影像显示不出来