【解决方法】在OpenLayers中可以使用ImageSuperMapRest类来加载地图服务,使用该类加载,地图是以image方式出图;但需要注意这种方式出图在效率上会比以tileImage方式出图差一些。示例代码参考:
var layer = new ol.layer.Image({
source: new ol.source.ImageSuperMapRest(ol.source.ImageSuperMapRest.optionsFromMapJSON(url, mapObj, true))
});
map.addLayer(layer);