swaggyPYang / esridemo

esridemo
34 stars 34 forks source link

TiandituWMTSLayer叠加4490坐标系的切片报错 #3

Closed liqiao6884 closed 5 years ago

liqiao6884 commented 6 years ago

你好,我要和一个4490坐标系的ArcGIServer发布的服务叠加,不能叠加,会有坐标系不匹配的错误,4.3没有问题,4.4以后就会有这个问题The spatial reference of this layer does not meet the requirements of the view。4.8单独加载TiandituWMTSLayer是加载不出来的:The spatial reference of this layer does not meet the requirements of the view

tpolong commented 5 years ago

var tiledLayer = new WebTileLayer({ urlTemplate: "http://{subDomain}.tianditu.com/DataServer?T=vec_c&x={col}&y={row}&l={level}", subDomains: ["t0","t1","t2","t3","t4","t5","t6","t7"] });这样写就好了