apache / apache/echarts

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

Open
#21,004 1 comment 0 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.