今天请求天地图服务竟然报错了:
Access to image at 'http://t0.tianditu.com/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix=3&TileRow=0&TileCol=4&style=default&format=tiles' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
大佬有遇到过用webMapTileServiceImageryProvider 加载wmts服务,一直404的吗,我看到是后面TileRow TileCol TileMatrix的问题,手动改这几个数据,放到浏览器上能出来图片,用代码加载都是404呢