You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "zhouzhili (via GitHub)" <gi...@apache.org> on 2023/08/18 01:58:20 UTC
[GitHub] [echarts] zhouzhili commented on issue #18999: geo纹理贴图怎么制作和区域范围一致的纹理图片呢
zhouzhili commented on issue #18999:
URL: https://github.com/apache/echarts/issues/18999#issuecomment-1683222177
@helgasoft Thank you for your response. I eventually found a solution. What I did was to first create an EChart and then place an image element underneath the chart. I adjusted the size and position of the image to align with the boundaries of the map in the EChart. When the map boundaries matched the image, I hid the EChart, captured a screenshot of the composite, and used that screenshot as a texture.
like this:

My texture image looks like this.

The final result.

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