echarts-gl icon indicating copy to clipboard operation
echarts-gl copied to clipboard

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

Open ekcharts opened this issue 1 year ago • 1 comments

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

ekcharts avatar Jul 04 '24 15:07 ekcharts

answered here

helgasoft avatar Oct 10 '24 02:10 helgasoft