[英]“glDrawElements: attempt to access out of range vertices in attribute 3” using Mapzen vector tiles
Suddenly I run into lots of these warnings in the console when using mapzen vector tiles with mapbox-gl: 将mapzen矢量图块与mapbox-gl结合使用时,突然在控制台中遇到了以下警告:
[.Offscreen-For-WebGL-0x2c91ee109c00]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 3 [.Offscreen-For-WebGL-0x2c91ee109c00] GL错误:GL_INVALID_OPERATION:glDrawElements:尝试访问属性3中超出范围的顶点
Before it was working fine. 之前一切正常。
Noticing it happened during zooming from level 15 and higher; 注意它是在15级及更高级别的缩放过程中发生的; and also that I had no warnings when using a simplified stylesheet I found it to be that the stylesheet requirements have altered.
而且在使用简化的样式表时没有警告,我发现样式表要求已更改。 In my case I had a filtervalue in one of my stylesheetlayers of
yes
which in new version should be true
. 就我而言,我的样式表图层之一中有一个filtervalue,
yes
,在新版本中应该为true
。 For more details how to update your stylesheet you could use this . 有关如何更新样式表的更多详细信息,可以使用this 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.