maptalks / maptalks/maptalks.js

如何改善 “倾斜视角,地上地下,局部场景” 时的鼠标视角交互体验?

Open
#1,696 7 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

当用倾斜视角看地上地下的局部场景时,鼠标平移旋转视角的体验较差,因为”平移/旋转“的基准点位是”鼠标/屏幕中心射线“与大地平面的交点。
https://maptalks.org/examples/en/3d/line-altitude/#3d_line-altitude (尝试将所有高度调为500米,然后倾斜、近距离观察要素时,鼠标平移旋转镜头)
我想了一下,具体应用时,可以让用户选择当前处在哪个楼层,从而修改大地平面的高程。但问题是没找到哪个API可以修改”大地平面高程“。
或者有没有其它方法可以改善”倾斜视角,地上地下,局部场景“时的鼠标视角交互体验?

Contributor guide

Open the contributing guide

Research direction

Reproduce the interaction in the linked 3D line-altitude example by setting all heights to 500 meters, then inspect how tilted, close-up camera panning and rotation use the mouse or screen-center ray. Check the available camera and ground-plane elevation APIs; done means a documented, tested approach that improves navigation for above- and below-ground local scenes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.