Skip to content

地图geojson中properties键值为大写时的问题 #11799

@nocny-x

Description

@nocny-x

Version

4.5.0

Steps to reproduce

地图加载的geojson如果properties中的键名为大写时,渲染出来的地图没有区分开,不能单个选中

What is expected?

地图中每个区域应该可以单独选中

What is actually happening?

只能选中整块地图


基于https://www.echartsjs.com/examples/en/editor.html?c=map-usa 这个示例我在codepen上做了一段重现bug代码的示例:
https://codepen.io/xyq/pen/XWJbGBd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions