简体   繁体   English

Chrome的Openlayers 3“渲染硬件加速”禁用个人图块

[英]Openlayers 3 “rendering hardware-accelerated” of Chrome disable personal tiles

I maked personal tiles for a WEB Gis and I use cartographic motor OpenLayers3. 我为Web Gis制作了个人磁贴,并使用了制图电机OpenLayers3。 I've any problem for see tiles with Mozilla or IE but with Google Chrome I've white tiles instead of real tiles in cause of the "rendering hardware-accelerated" (If I disable this parameter I can see all my tiles). 使用Mozilla或IE查看磁贴时遇到任何问题,但是使用Google Chrome浏览器时,由于“渲染硬件加速”,我使用的是白色磁贴,而不是真正的磁贴(如果禁用此参数,则可以看到我的所有磁贴)。

Like that : 像那样 : 在此处输入图片说明

How can I do for see my tiles with the "rendering hardware-accelerated" ? 如何查看带有“渲染硬件加速”的图块? (For example the OSM tiles don't have this problem) (例如,OSM磁贴没有此问题)

Propably you reproject your local tiles while OSM are not reprojected. 可能是您重新投影了本地图块,而没有重新投影了OSM。 Thats why you have the rendering fail only on your local tiles. 这就是为什么仅在本地图块上渲染失败的原因。 This is a known issue #5236 and it seems it has to do with performance regression of chrome. 这是一个已知的问题#5236 ,似乎与chrome的性能下降有关。 The bug has been reported to chrome. 该错误已报告给Chrome。

In the meantime you either switch to 3.13 version or disable the hardware accelaration. 同时,您可以切换到3.13版本或禁用硬件加速。 A last option is to serve you tiles unreprojected (dont do any client reprojection) or create your tiles using your map projection (I guess this is 3857) so no client reprojection shall take place. 最后一种选择是为您提供未重新投影的图块(不进行任何客户端重新投影)或使用地图投影创建图块(我猜这是3857),因此不会发生客户端重新投影。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM