Open swanghao opened 7 months ago
@swanghao 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. 🤗
not-a-bug, georoam is just not an event defined in echarts-gl, it is for 2D maps only.
Version
5.5.0
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?gl=1&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzGU1QzhAaQQArJKkJSANKIBmAV0IBjOPmOjSmgFJHC5UQG9qo0aCQsIgQ-LiM2HhEZFR-ooy20PBICDCMxPhIcIwwALJQAA6kUrpmom4esf6BSYhqcOwFDsakcf6kqE2OhKIAvD5t_qIOcAA2jABcA0Mzw4wAHnBTUnydCAAijIRI-HAgorqiAEwADACMZ1KD_gC-pteiAG6ZVlCj-QVTvrNDwERTAA4Tid7j9qlB5lMAKzA4GgsHZRZTADaJXwxAgZSk2HQUgAuvCfmk3g5gJNhjArIxCbNbG9bFZRlAAEbjKZwSnUh7-NQwfCMJAASUI4UhohB3NERFYUBI5O-YP8tlQo1QMBRUlG6IgcCQAGsQKyqViQIxRqrceYpGrZUw0rh8ZKbg87tQHnBUCqHJ9pgi-cQ7ctdoxgGZJRY1cAFNl1dJvLYbqISVcfq6fuMmCKvq6HpoAMzrL6SmQyeLAArQHZIUToNV66tEcqMVAF8xqcb2Uy2LW2PWiXCoUSEVBwYsyFAYKYWN5qcz-EuiZXAMmEOCiVBWNce0QT9DmZmb0ShcIBQoFyVRn0lHRhxUwHDAdmcmkzABe40eZqmZzzL6GTOZL8fB3NB0CnGdGFENMwRDCsVEyItFX8YNgAAZT2NlfSQxcVTVZZTXNDAUyQ51FWgn4UPQkBMIVRUS2ZNVwhgAB1MI4AgKYTgQKE_xmTooFsXYQE4hBzlEBd8HLNVFFXABCJ1ePE8czQSbJcFyVBwifKklNEfQrCyJM5iyMcUCiEhliZYBAPgW9ZhzH5eX5JAUUlbx51LD0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Ak9RlBLAAYgsJsnR_gIyrggdqJY0gGKjAdM3HZxhpn4FfH9I4ZzRDMmWcQe8NhcBgAWcsGAxAHmkBBEcX8FxTAnHIHUkiy1OmhRmfKcGs0hLfmbgxGATFWK4HYiJHi4NupVj_sNUaeFpBPMYFsEFZEwVNTMgQPpmp0o2TgJIrUGJDkjMVFGf4fVsK4vGhsrZdyiDZG2LC8UDc7nksnP0iZm0QJ4AwAARVeFqea0gbEHO2UmUYcEnYSglfc5gUBvwnHBv3GY1L-SrmxdhXlWwdgKq4lCA1y0FJulVk1XK-UkB0jgDGIqz03rLAKKgXlSBJHKkYkQBQjBUIgCyCGZY-Z1iSKQCAayKpfUKA4iWXIogzggjzCcUQAhji_NzSCEEWMYSmBzXmgtphTjikBaYLGKdy25ulaIRtKNc1lpTqIFtWbTDtszdm3Nr542JuOSk65KJubmG5l_c1ELBrAQ5csI0jAygwoVX3Z6LU2rfgBU1TFCE2VggGtRKFWql3SHtMSsEpESLPTWrq0QyJwbIguGHM4od_rmHHuHAEEc8xk3MFm2dw1X1nDDuPXmX7jhUyOH-lGAHv3jzxJ_J0DwUMzBuOQOIsQsM0BqMEBALQpD-V7GUUgBQvC9AAHy-hLPgCwzgCjIByM5LgIA8q9F6AAIjddGHIBZuPYfmdsFUEVVRkCkAUVc0hxDMYfcKUUuHYjUAI_AIjhBiiaHvOlcjlG-i0YVPRxjFGWN8gFOxzjPG-MeoE-sITcRlSifGJFGA94YAUeU5QIAA
Steps to Reproduce
myChart.showLoading(); $.get(ROOT_PATH + '/data/asset/geo/HK.json', function (geoJson) { myChart.hideLoading(); echarts.registerMap('HK', geoJson); myChart.setOption( (option = { title: { text: 'Pop.Density HK 2011' }, visualMap: { min: 800, max: 50000, text: ['High', 'Low'], realtime: true, calculable: true, seriesIndex: 0, inRange: { color: ['lightskyblue', 'yellow', 'orangered'] } },
); }); myChart.on('click', (p) => { //if (p.seriesType=="scatter3D") console.log('pnt '+p.dataIndex); });
myChart.on('georoam', (p) => { //if (p.seriesType=="scatter3D") console.error(p); });
Current Behavior
1、geo3D中 无法监听到 georoam事件 2、scatter3D中data点位数量必须要2个或2个以上才能触发click点击事件,当只有一个的时候无法触发click事件
Expected Behavior
1、希望能够再geo3D中 监听到 georoam事件 2、scatter3D中data点位数量为什么必须要2个或2个以上才能触发click点击事件 3、鼠标滚轮滚动,能够实时获取到地图放大缩小的zoom值
Environment
Any additional comments?
No response