使用TileLayer.WMTS加载OGC标准的WMTS地图。

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<title>TileLayer.WMTS</title>
<style>
html,
body,
#container {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="container"></div>
<script src="//webapi.amap.com/maps?v=1.4.15&key=您申请的key值"></script>
<script>
var map = new AMap.Map('container', {
resizeEnable: true,
zoom: 3,
center: [-99.241291, 39.51401]
});
var wms = new AMap.TileLayer.WMTS({
url: 'https://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/WMTS/',
blend: false,
tileSize: 256,
params: {
Layer: '0',
Version: '1.0.0',
Format: 'image/png',
TileMatrixSet: 'EPSG:3857'
}
});
wms.setMap(map);
</script>
</body>
</html>