echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] After setting series-map.geoIndex, style configurations such as series-map.map and series-map.itemStyle no longer take effect

Open SpaceChars opened this issue 6 months ago • 1 comments

What problem does this feature solve?

After setting series-map.geoIndex, style configurations such as series-map.map and series-map.itemStyle no longer take effect

It feels like setting a wrong decision

Because series can be linked with attributes such as legend and tooltip, while geo cannot

If I need to use legends to control the style control of the map area, such as hiding or showing the country style of the Asian region, then at this time, it cannot be achieved through the geo component, but series can, but the current echart does not support it

What does the proposed API look like?

Here, it can be considered to change the decision to: The properties of series-map.data can be set to control the style of the geo layer. In this way, it can meet the requirements of controlling the series-map component with components such as legends and hints, just like other series component types

SpaceChars avatar May 30 '25 03:05 SpaceChars

Chart type map works fine without geo as shown in official example. geo is mostly used as a map for scatter and line series.

helgasoft avatar May 30 '25 06:05 helgasoft