Open zz925625 opened 6 months ago
yes, textStyle for geo3D.label and geo3D.regions.label is redundant in v.5.5.0. Duplicate of https://github.com/ecomfe/echarts-gl/issues/497. Workaround until fixed someday: use attributes (like color,fontSize) directly, without textStyle - Demo
Version
"echarts": "^5.4.2", "echarts-gl": "^2.0.8",
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?gl=1&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzGU1QzhAaQQArJKkJSANKIBmAV0IBjOPmOjSmgFJHC5UQG9qo0aCQsIgQ-LiM2HhEZFR-ooy20PBICDCMxPhIcIwwALJQAA6kUrpmom4esf6BSYhqcOwFDsakcf6kqE2OhKIAvD5t_qIOcAA2jABcA0Mzw4wAHnBTUnydCAAijIRI-HAgorqiAEwADACMZ1KD_gC-pteiAG6ZVlCj-QVTvrNDwERTAA4Tid7j9qlB5lMAKzA4GgsHZRZTADaJXwxAgZSk2HQUgAuvCfmk3g5gJNhjArIxCbNbG9bFZRlAAEbjKZwSnUh7-NQwfCMJAASUI4UhohB3NERFYUBI5O-YP8tlQo1QMBRUlG6IgcCQAGsQKyqViQIxRqrceYpGrZUw0rh8ZKbg87tQHnBUCqHJ9pgi-cQ7ctdoxgGZJRY1cAFNl1dJvLYbqISVcfq6fuMmCKvq6HpoAMzrL6SmQyeLAArQHZIUToNV66tEcqMVAF8xqcb2Uy2LW2PWiXCoUSEVBwYsyFAYKYWN5qcz-EuiZXAMmEOCiVBWNce0QT9DmZmb0ShcIBQoFyVRn0lHRhxUwHDAdmcmkzABe40eZqmZzzL6GTOZL8fB3NB0CnGdGFENMwRDCsVEyItFX8YNgAAZT2NlfSQxcVTVZZTXNDAUyQ51FWgn4UPQkBMIVRUS2ZNVwhgAB1MI4AgKYTgQKE_xmTooFsXYQE4hBzlEBd8HLNVFFXABCJ1ePE8czQSbJcFyVBwifKklNEfQrCyJM5iyM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shSDpTUAJAVokhXc2kuSbURHAKiNFwZKlwuNVkAk9RlBLAAYgsJsnR_gIyrggdqJY0gGKjAdM3HZxhpn4FfH9I4ZzRDMmWcQe8NhcBgAWcsGAxAHmkBBEcX8FxTAnHIHUkiy1OmhRmfKcGs0hLfmbgxGATFWK4HYiJHi4NupVj_sNUaeFpBPMYFsEFZEwVNTMgQPpmp0o2TgJIrUGJDkjMVFGf4fVsK4vGhsrZdyiDZG2LC8UDc7nksnP0iZm0QJ4AwAARVeFqea0gbEHO2UmUYcEnYSglfc5gUBvwnHBv3GY1L-SrmxdhXlWwdgKq4lCA1y0FJulVk1XK-UkB0jgDGIqz03rLAKKgXlSBJHKkYkQBQjBUIgCyCGZY-Z1iSKQCAayKpfUKA4iWXIogzggjzCcUQAhji_NzSCEEWMYSmBzXmgtphTjikBaYLGKdy25ulaIRtKNc1lpTqIFtWbTDtszdm3Nr542JuOSk65KJubmG5l_c1ELBrAQ5csI0jAygwoVX3Z6LU2rfgBU1TFCE2VggGtRKFWql3SHtMSsEpESLPTWrq0QyJwbIguGHM4od_rmHHuHAEEc8xk3MFm2dw1X1nDDuPXmX7jhUyOH-lGAHv3jzxJ_J0DwUMzBuOQOIsQsM0BqMEBALQpD-V7GUUgBQvC9AAHy-hLPgCwzgCjIByM5LgIA8q9F6AAIjddGHIBZuPYfmdsFUEVVRkCkAUVc0hxDMYfcKUUuHYgEfgERwgxRNCNPsIkW0zTyOUb6LRhU9HGMUZY3yAU7HOM8b4x6gT6whNxGVKJ8YCAJMUeU5QIAA
Steps to Reproduce
demo
update geo3D: { // emphasis works in geo3D, select,click do not //show: false, // comment out to show, but hide map3D map: 'HK', roam: true, zlevel: 13, label: { show: true, textStyle: { color: '#fff', // 地图初始化区域字体颜色 fontSize: 212, opacity: 1, backgroundColor: 'rgba(0,0,0,0)' } } },
Current Behavior
The label of geo3d cannot modify the style
Expected Behavior
no
Environment
Any additional comments?
No response