Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用maptalksgl插件中的GroupGLLayer后: 1.无论尺寸是否变化ThreeRenderer中的函数resizeCanvas总是被调用; 2.即便无论尺寸是否变化,函数resizeCanvas中的“if (canvas.width === width && canvas.height === height)”永远为TURE,后面代码不会被执行,导致尺寸变化后点选出现问题(鼠标无法拾取图形)。 当前修正方案:
The text was updated successfully, but these errors were encountered:
@gisshare2015 1.这个是groupgl设计就是这样 2.问题2,我把width/height调整过来后,没法测试你说的拾取问题,能否具体点(重现代码或者录个视屏等)
使用maptalksgl插件中的GroupGLLayer后:
1.无论尺寸是否变化ThreeRenderer中的函数resizeCanvas总是被调用;
2.即便无论尺寸是否变化,函数resizeCanvas中的“if (canvas.width === width && canvas.height === height)”永远为TURE,后面代码不会被执行,导致尺寸变化后点选出现问题(鼠标无法拾取图形)。
当前修正方案:
The text was updated successfully, but these errors were encountered: