Leven
Leven
@mgermerie done
> 结果问题:1、存在跨域,在openlayer和cesium加载不存在跨域问题2、多域名[http://t{0-7}.tianditu.gov.cn/img_w/wmts,{0-7}自动转化一个数字,如http://t0.tianditu.gov.cn/img_w/wmts,http://t0.tianditu.gov.cn/img_w/wmts](http://t%7B0-7%7D.tianditu.gov.cn/img_w/wmts%EF%BC%8C%7B0-7%7D%E8%87%AA%E5%8A%A8%E8%BD%AC%E5%8C%96%E4%B8%80%E4%B8%AA%E6%95%B0%E5%AD%97%EF%BC%8C%E5%A6%82http://t0.tianditu.gov.cn/img_w/wmts%EF%BC%8Chttp://t0.tianditu.gov.cn/img_w/wmts) 3、如何自定义切换规则 1、我认为这个错误不是itowns的问题,是天地图限制了请求频率,配置多子域名后会好点 2&3、多子域名 http://${u:t0|t1|t2|t3|t4|t5|t6|t7}.tianditu.gov.cn/img_w/wmts, 附:定义token可使用vendorSpecific参数传参,如 WMTSSource({ ... vendorSpecific:{ tk:"" } }) , 但需要用比较新的版本itowns(≥v2.40.0)
@jailln I don't think this is an issue with iTowns, so this issue can be closed now
same error occurred when i upgrade to version 1.67 , but when I set a terrainProvider (not EllipsoidTerrainProvider) ,the error won't occur.
> @sweerwen are you also using AngularJS? If so, it might be related to #8673. i haven't using anglurjs ,just vuejs.
i'm sorry! it's my mistake, i had set the CESIUM_BASE_URL to the old version path.
> @sweerwen it looks like this is the same problem as #6447. > > A workaround is to set `viewer.scene.logarithmicDepthBuffer = false;` thanks @lilleyse , it works. but when set...
> I think we might be able to fix #6447 pretty soon and not require the workaround here. @lilleyse glad to hear that, thanks for your contribution.
just tested when set log depth to false on [HDR page](https://sandcastle.cesium.com/?src=High%20Dynamic%20Range.html&label=Post%20Processing) then switch the HDR checkbox,it crashed. but comment this line `//viewer.scene.highDynamicRange = true;`, has no problem.
hi,everyone if you have modal content ,don't write it in main page,write it in new page instead. it will work