加载方式如下:
var imageryProvider = new Cesium.CGCS2000MapServerImageryProvider({
url: "http://192.168.3.133:8888/OneMapServer/rest/services/zhengwubanditu2/MapServer",
name: "arcgis",
maximumLevel : 9,
});
var imageryLayer = viewer.imageryLayers.addImageryProvider(imageryProvider);
请求结果返回:
报错内容如下:
Openlayers设置参数后能正常访问到瓦片: