简体   繁体   English

Openlayers 3基本层显示Chrome上的条

[英]Openlayers 3 Base layers showing strips on Chrome

Just today I found this bug. 就在今天,我发现了这个错误。 It shows strips on baselayers. 它显示了基础层上的条带。 The image below shows how it looks in OpenStreet map and Mapbox. 下图显示了在OpenStreet地图和Mapbox中的外观。 The strips are not there on Firefox. 这些条在Firefox上不存在。 My Chrome version is 59.0.3071.109 (Official Build) (64-bit). 我的Chrome版本是59.0.3071.109(正式版本)(64位)。 My Openlayers version is 3.20.1 Is there any fix for it? 我的Openlayers版本是3.20.1,是否有修复程序? OpenStreetMap OpenStreetMap

The primary reason for this is raster reprojection. 主要原因是栅格重投影。 If your base layer is in a different projection than your view, OpenLayers will reproject the images of the tile source. 如果基础层的投影与视图的投影不同,则OpenLayers将重新投影图块源的图像。

But the particular issue you are seeing was fixed in v4.0.0 (see https://github.com/openlayers/openlayers/pull/6344 ). 但是您看到的特定问题已在v4.0.0中修复(请参阅https://github.com/openlayers/openlayers/pull/6344 )。 So upgrading to a newer version will resolve the problem. 因此,升级到较新版本将解决此问题。

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

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