使用产品:iserver 9D(9.1.0) 操作系统:win2012 x64
数据类型: 文件型
在使用openlayer 加载图层信息的时候,js报错
Uncaught ha {message: "Assertion failed. See https://openlayers.org/en/v4.6.5/doc/errors/#58 for details.", code: 58, name: "AssertionError"}
var map = new ol.Map({
target: 'map',
controls: ol.control.defaults({attributionOptions: {collapsed: false}}),
view: new ol.View({
center: [24.36, 109.52],
zoom: 10,
projection: 'EPSG:4326'
})
});
var layer = new ol.layer.Tile({
source: new ol.source.TileSuperMapRest({
url: mapList[i].mapUrl,
//wrapX: true
}),
projection: 'EPSG:4326'
});