Open Jalor-Lv opened 2 years ago
@godjb It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
d3 projection is the offender, works without it - Demo code
p (2) [-117, 32]
(2) [218.20446191988958, 327.4760103577731]
true
(2) [-116.99999999999997, 31.999999999999986]
Of course it would be much better if we can use projections...
Im facing the same problem. The "unproject" callback does not get the correct point as parameter
Version
5.3.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=map-usa-projection&version=5.3.0
Steps to Reproduce
Current Behavior
pos为我选取的经纬度坐标,pos1是转换的像素值,pos2是反转回去的经纬度,经过输出,pos和pos2的值相差较大
Expected Behavior
预期pos和pos2的值相差无几
Environment
Any additional comments?
在5.2.2版本没有遇到这个问题