TileLayer.WMTS
html,
body,
#container {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
var map = new AMap.Map('container', {
resizeEnable: true,
zoom: 11,
center: [113.65000, 34.76667]
});
var wms = new AMap.TileLayer.WMTS({
url: 'http://218.28.140.213:10521/iserver/services/map-HenanOneRoad/wmts100',
blend: false,
tileSize: 256,
params: {
Layer: 'OneRoad_ln',
Version: '1.0.0',
Format: 'image/png',
TileMatrixSet: 'EPSG:3857'
}
});
wms.setMap(map);
代码附上,运行的时候提示
该怎么处理呢?