【解决办法】可以通过layersid过滤,具体参考以下代码实现"sources": {
"raster-tiles": {
"attribution": attribution,
"type": "raster",
"tiles": ['http://localhost:8090/iserver/services/map-arcgis-2035zg_57/rest/maps/%E5%9B%BE%E5%B1%8257/zxyTileImage.png?z={z}&x={x}&y={y}&layersID=[5]'],
"tileSize": 256
}