未验证 提交 043ff9e8 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #12500 from apache/fix-geo-name-property

fix(geo): fix default name property when parsing GeoJSON
......@@ -137,7 +137,7 @@ export default function (geoJson, nameProperty) {
}
var region = new Region(
properties[nameProperty],
properties[nameProperty || 'name'],
geometries,
properties.cp
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册