Skip to content

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

Open
@SpaceChars

Description

@SpaceChars

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions