-
Notifications
You must be signed in to change notification settings - Fork 509
如何改善 “倾斜视角,地上地下,局部场景” 时的鼠标视角交互体验? #1696
New issue
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
Labels
Comments
这里确实是个问题,我感觉最好能让map自动读取屏幕中心点处绘制要素的高程,并以该点为中心点旋转。 你觉得如何? |
不行啊,万一屏幕中心刚好没要素怎么办? |
我在右边加一个楼层列表,通过智能或人工的方式确认当前楼层,您提供个设置高程接口给我就好了。 |
This comment was marked as abuse.
This comment was marked as abuse.
还不清楚你说的feature3d具体是指的哪个webgl图层呢? |
This comment was marked as abuse.
This comment was marked as abuse.
我们组开发中涉及“视角变换,节点拖拽”等多个三维鼠标交互的功能,都需要动态设置大地基准平面的高程。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当用倾斜视角看地上地下的局部场景时,鼠标平移旋转视角的体验较差,因为”平移/旋转“的基准点位是”鼠标/屏幕中心射线“与大地平面的交点。
https://maptalks.org/examples/en/3d/line-altitude/#3d_line-altitude (尝试将所有高度调为500米,然后倾斜、近距离观察要素时,鼠标平移旋转镜头)
我想了一下,具体应用时,可以让用户选择当前处在哪个楼层,从而修改大地平面的高程。但问题是没找到哪个API可以修改”大地平面高程“。
或者有没有其它方法可以改善”倾斜视角,地上地下,局部场景“时的鼠标视角交互体验?
The text was updated successfully, but these errors were encountered: