Closed shengzheng1981 closed 3 years ago
问题补充:两种情况下可复现。 1.删掉倒数第二个坐标点:[116.0565,39.7063] 2.当前数据,将roam打开,缩小后出现
问题再补充:目前将地理坐标(4326)转为平面坐标(3857:Web Mecator)可解决该问题,换句话说将原始坐标放大可解决该问题。polygon是否由于太小忽略填充而导致?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
General Questions
PLEASE MAKE SURE OF ALL THE FOLLOWING OPTIONS IN REQUIRED FIELDS ARE TICKED (with x)! Otherwise, the issue will not be answered. And think before you tick. :) 请确保以下每项都打上勾了!并且确保都做了这些事哦~ 这将大量简化我们的工作流程,使你的问题更快速得到解答。
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
geojson中的polygon无法正常显示,无填充,只有边界。
Expected Behavior
正常填充
Current Behavior
无填充,或缩放后无填充
Online Example
THIS IS REQUIRED FOR ALL BUG REPORTS AND QUESTIONS!!! 如果是提问或报 bug 一定要提供这一项!
http://gallery.echartsjs.com/editor.html?c=xHkzvHR3Eb
用下面的数据在示例中替换后出现问题,相关geojson数据:{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[116.0621654040001,39.707089232000044],[116.06344554700001,39.707257917000049],[116.06384091200005,39.707309815000031],[116.06760810000003,39.70782623000008],[116.06851969500008,39.707954389000065],[116.06904576400007,39.711142945000063],[116.06910446900008,39.711488510000038],[116.06918142300003,39.711965186000043],[116.06989882500011,39.713565734000042],[116.07041218300003,39.714635086000044],[116.06947505700009,39.714491280000061],[116.06323155200005,39.71350265600006],[116.06302887000004,39.713477105000038],[116.06276810400004,39.713415619000045],[116.06260033600006,39.713381315000049],[116.06165976200009,39.713188922000029],[116.06047347200001,39.712916706000044],[116.05852506100007,39.712451731000044],[116.05668878000006,39.712016549000055],[116.05613109500007,39.711895786000071],[116.0550988760001,39.711808630000064],[116.05459669900006,39.711766219000026],[116.05461155900002,39.711384941000063],[116.05522960500002,39.709687479000024],[116.05532627800005,39.709423313000059],[116.05541343900006,39.709177188000069],[116.0555313210001,39.708864007000045],[116.05600134100007,39.707581202000028],[116.05652025300003,39.706340002000047],[116.0565,39.7063],[116.0621654040001,39.707089232000044]]]},"properties":{"XZQMC":"星城街道"}}]}
Topics
Anything Else We Need to Know
{DESCRIBE_HERE}
Environment
ECharts version;ECharts 版本: 同官方示例版本
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}