echarts-bot[bot] commented on issue #19406: URL: https://github.com/apache/echarts/issues/19406#issuecomment-1857441530
@Arc-zlz 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. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Bug] There is no constructor of DOMParser on the WeChat Mini Program side **BODY** ### Version 5..4.3 ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?c=geo-organ ### Steps to Reproduce When using svg/geoJson data to render canvas, the WeChat Mini Program cannot be registered with the echart.registerMap() method, and an error message will be reported that there is no DOMParser constructor, because the WeChat Mini Program environment does not have a web api ### Current Behavior When using svg/geoJson data to render canvas, the WeChat Mini Program cannot be registered with the echart.registerMap() method, and an error message will be reported that there is no DOMParser constructor, because the WeChat Mini Program environment does not have a web api ### Expected Behavior Is there any way to avoid using the echart.registerMap() method or how to import geoJson data locally? ### Environment ```markdown - OS: - Browser: - Framework:1 ``` ### Any additional comments? 1 </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
