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

Obtaining precise lat/lon coordinates of map click on 3d globe #527

Open
ekcharts opened this issue Jul 4, 2024 · 1 comment
Open

Obtaining precise lat/lon coordinates of map click on 3d globe #527

ekcharts opened this issue Jul 4, 2024 · 1 comment

Comments

@ekcharts
Copy link

ekcharts commented Jul 4, 2024

Hello, I am attempting to obtain the precise lat/lon coordinates on globe click but I get the error message that globe is an unsupported coordinate system when calling convertFromPixel

Screenshot from 2024-07-02 10-51-42

I noticed that convertFromPixel is not defined on the globe. When I examine the ._coordSysMgr._coordinateSystems object on the instance of echarts I see

image

where I can see convertFromPixel is undefined here. For the map series in echarts for example convertFromPixel is defined.

Is it extremely difficult to implement convertFromPixel for the 3d and globe map systems? Or perhaps is there another way to get lat/lon from globe click?

Thank you for the assistance

@helgasoft
Copy link

answered here

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