Skip to content
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

pickPosition return a wrong altitude #7506

Closed
hieeyh opened this issue Jan 24, 2019 · 1 comment
Closed

pickPosition return a wrong altitude #7506

hieeyh opened this issue Jan 24, 2019 · 1 comment

Comments

@hieeyh
Copy link

hieeyh commented Jan 24, 2019

cesiumManager.eventHandler.on('LEFT_CLICK', onLeftClick)
onLeftClick = function (movement) {
const viewer = cesiumManager.cesiumViewer
let ellipsoid = viewer.scene.globe.ellipsoid
let cartesian = viewer.scene.pickPosition(movement.position)
let latlng = GSModel.LatLng.fromCartesian3(cartesian, ellipsoid)
}
the altitude of the latlng is higher than real.
default

@hpinkos
Copy link
Contributor

hpinkos commented Jan 24, 2019

Closing this as a duplicate of #7261
@hieeyh, if you have any more comments or sample code to reproduce this, please add it to that issue. Thanks!

@hpinkos hpinkos closed this as completed Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants