You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "muzlevy (via GitHub)" <gi...@apache.org> on 2023/05/11 08:49:48 UTC

[GitHub] [echarts] muzlevy opened a new issue, #18612: [Bug] 加载中国地图时,右下角的小岛屿都被隐藏

muzlevy opened a new issue, #18612:
URL: https://github.com/apache/echarts/issues/18612

   ### Version
   
   5.0.2
   
   ### Link to Minimal Reproduction
   
   No response
   
   ### Steps to Reproduce
   
   1. 利用 `json`  数据来注册地图: `echarts.registerMap("xxx",json)` 
   2. 然后加载
   
   
   
   ### Current Behavior
   
   ### 问题:渲染的 `canvas` 比较小的情况下,右下角部分岛屿会直接被隐藏;`canvas` 大一点的话就不会。这是什么引起的?可以解决吗?
   如下图:
   ![image](https://github.com/apache/echarts/assets/72795965/e13ba215-5503-4d9b-835b-7e5edb949d90)
   
   画布变大后显示完整了:
   ![image](https://github.com/apache/echarts/assets/72795965/a539d4b2-7edb-4b5d-83ac-d2f2a87d812e)
   
   ### Expected Behavior
   
   no.
   
   ### Environment
   
   ```markdown
   - OS:Ubuntu 20.04.6 LTS
   - Browser: Chrome 111.0.5563.146(正式版本)
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #18612: [Bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1543596910

   @muzlevy 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] When loading the map of China, the small islands in the lower right corner are hidden
   
   **BODY**
   
   ### Version
   
   5.0.2
   
   ### Link to Minimal Reproduction
   
   No response
   
   ### Steps to Reproduce
   
   1. Register the map with 'json' data: 'echarts.registerMap('xxx',json)' 
   2. Then load
   
   ### Current Behavior
   
   ### Problem: When the rendered 'canvas' is relatively small, some islands in the lower right corner will be directly hidden; 'canvas' is not a little bigger. What causes this? Can it be solved?
   As shown in the following figure:
   ![image](https://github.com/apache/echarts/assets/72795965/e13ba215-5503-4d9b-835b-7e5edb949d90)
   
   The canvas is complete when it gets bigger:
   ![image](https://github.com/apache/echarts/assets/72795965/a539d4b2-7edb-4b5d-83ac-d2f2a87d812e)
   
   ### Expected Behavior
   
   no.
   
   ### Environment
   
   ```markdown
   - OS:Ubuntu 20.04.6 LTS
   - Browser: Chrome 111.0.5563.146 (official version)
   - Framework:
   ```
   
   ### Any additional comments?
   
   _No response_
   </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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart closed issue #18612: [bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #18612: [bug] 加载中国地图时,右下角的小岛屿都被隐藏
URL: https://github.com/apache/echarts/issues/18612


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] muzlevy commented on issue #18612: [Bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "muzlevy (via GitHub)" <gi...@apache.org>.
muzlevy commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1545004576

   > looks like subpixel issue to me. Maybe the real question is "How does ECharts handle subpixel display?". I suppose they are ignored (not shown).
   
   Thank you very much, I can't express it well, this is what I want to ask.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart commented on issue #18612: [bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1546873761

   @muzlevy I can't reproduce this issue with this [example](https://codepen.io/plainheart/pen/ZEqjOPB). This issue should have been fixed by ecomfe/zrender#760. Instead of the v5.0.2, please try to use the newer versions >= v5.1.2.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] helgasoft commented on issue #18612: [Bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1544387797

   looks like subpixel issue to me. 
   Maybe the real question is "How does ECharts handle subpixel display?". I suppose they are ignored (not shown).


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #18612: [Bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1543888861

   @muzlevy Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart commented on issue #18612: [bug] 加载中国地图时,右下角的小岛屿都被隐藏

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #18612:
URL: https://github.com/apache/echarts/issues/18612#issuecomment-1546873766

   @muzlevy I can't reproduce this issue with this [example](https://codepen.io/plainheart/pen/ZEqjOPB). This issue should have been fixed by ecomfe/zrender#760. Instead of the v5.0.2, please try to use the newer versions >= v5.1.2.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org