You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/30 06:12:14 UTC

[GitHub] [echarts] SunQQQ opened a new issue, #17295: 中国地图南海图例里如何渲染出各小岛数据?

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

   ### What problem does this feature solve?
   
   因客户为国企,最近需要渲染出南海诸岛中的各个小岛。
   网上似乎没有相应数据,请假下有没有哪位亲做过相关操作?
   
   
   ### What does the proposed API look like?
   
   能够在南海诸岛图例里展示出各个小岛
   [](url)
   


-- 
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] SunQQQ commented on issue #17295: 中国地图南海图例里如何渲染出各小岛数据?

Posted by GitBox <gi...@apache.org>.
SunQQQ commented on issue #17295:
URL: https://github.com/apache/echarts/issues/17295#issuecomment-1171362391

   @pissang @plainheart 
   老师您好,麻烦请教下echarts渲染中国地图时,右下角南海诸岛方块区域是如何渲染出来的?
   我看geojson里有各个省份的数据,没有关于那块的数据?不知道是怎么渲染出来的
   有没有办法把右下角方框区域中渲染出各个详细的小岛? 


-- 
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


Re: [I] 中国地图南海图例里如何渲染出各小岛数据? [echarts]

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

   echarts demo 中的中国地图非常政治不正确,是时候搞波大的了


-- 
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


Re: [I] 中国地图南海图例里如何渲染出各小岛数据? [echarts]

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

   @lizy-DK 请严肃。ECharts 现在不提供地图数据,若有,恳请指出问题地图目前存在于哪里,我们会进行移除处理。


-- 
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


Re: [I] 中国地图南海图例里如何渲染出各小岛数据? [echarts]

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

   see [this repo](https://github.com/echarts-maps) and [Demo Code](https://echarts.apache.org/examples/en/editor.html?code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAuhAKaGnUAE79xTcAygGMY-AA5w2nTgHIIcOCKQAuAPTKBuQggBWSXEwA2-AG4wEhXsuIRlTAdHhIAtMCgKbd2HCd2iURyJhUIyIBJicdAAEXJDgmGHd7L0cfQj8AoJCwxx1laF9NHSkOdnJqcgRcVHNSADMAV0IBOHwq9gp2AG9i0EhPBAh8PWw8IjIqYtQxFsJ2AF5O4s5muH0mRU7YgA84dakACSh8qQBfABpF9h5UdY72FxF1gCJAd1tAdWVH0_ZAqGB1uBg6kx2Mdjt1wIlkLwAPJTKqkSbNKrjY5UIA)


-- 
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 #17295: 中国地图南海图例里如何渲染出各小岛数据?

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17295:
URL: https://github.com/apache/echarts/issues/17295#issuecomment-1173877296

   > echarts渲染中国地图时,右下角南海诸岛方块区域是如何渲染出来的
   > 我看geojson里有各个省份的数据,没有关于那块的数据?不知道是怎么渲染出来的
   
   ECharts 内部有判断是否地图名字是 `china`,如果是中国地图且 GeoJSON 中未定义南海诸岛的坐标数据,ECharts 会自动添加内置的南海诸岛坐标数据,钓鱼岛也是如此。参见:
   https://github.com/apache/echarts/blob/master/src/coord/geo/fix/nanhai.ts
   https://github.com/apache/echarts/blob/master/src/coord/geo/fix/diaoyuIsland.ts
   
   > 有没有办法把右下角方框区域中渲染出各个详细的小岛?
   ECharts 内置的南海诸岛比较粗略,想要详细的只能自己找下精确的南海诸岛的 GeoJSON 数据了。如果能接受全图,可以从[这里](http://datav.aliyun.com/portal/school/atlas/area_selector) 下载其由高德地图提供的全国详细的 GeoJSON 边界数据。


-- 
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 #17295: 中国地图南海图例里如何渲染出各小岛数据?

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17295:
URL: https://github.com/apache/echarts/issues/17295#issuecomment-1170808247

   @SunQQQ 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**
   
   How to render the data of each small island in the legend of the South China Sea on the map of China?
   
   **BODY**
   
   ### What problem does this feature solve?
   
   Because the customer is a state-owned enterprise, it has recently been necessary to render the small islands in the South China Sea Zhudao.
   There seems to be no corresponding data on the Internet, has any of the relatives under the leave done the relevant operations?
   
   ### What does the proposed API look like?
   
   It is possible to show the small islands in the legend of the South China Sea Islands
   [](url)
   </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] helgasoft commented on issue #17295: 中国地图南海图例里如何渲染出各小岛数据?

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

   Simple POC:
   ```
   <html>
   <head>
       <meta charset="utf-8">
       <title>Hainan</title>
   	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" crossorigin="anonymous"></script>
   	<script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.3/echarts.min.js"></script>
   </head>
   <body>
       <div id="main" style="width: 1000px;height:700px;"></div>
   <script>
           var myChart = echarts.init(document.getElementById('main'));
   	myChart.showLoading();
   	$.when(
   	  $.get('https://geo.datav.aliyun.com/areas_v3/bound/geojson?code=460000_full')
   	).done(function (res) {
   	  const hainan = res;
   	  myChart.hideLoading();
   	  echarts.registerMap('hainan', {geoJSON: hainan});
   	  option = { "geo": { "map": "hainan", "roam": true }} 
   	  myChart.setOption(option);
   	});
   </script>
   </body>
   </html>
   ```


-- 
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


Re: [I] 中国地图南海图例里如何渲染出各小岛数据? [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #17295: 中国地图南海图例里如何渲染出各小岛数据?
URL: https://github.com/apache/echarts/issues/17295


-- 
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