Sapui5 分析地图:如何按状态显示每个区域的数据
我想按照纬度和经度划分国家,在每个州画一个圆圈,并相应地提供JSON文件 我使用了以下代码:Sapui5 分析地图:如何按状态显示每个区域的数据,sapui5,Sapui5,我想按照纬度和经度划分国家,在每个州画一个圆圈,并相应地提供JSON文件 我使用了以下代码: this.oData = { regionProperties: [ { "code": "DE", "region": "Germany", "Revenue": 428214.13, "Cost": 94383.52, "color": "rgb(92,186,230)", }, { "code":
this.oData = {
regionProperties: [
{
"code": "DE",
"region": "Germany",
"Revenue": 428214.13,
"Cost": 94383.52,
"color": "rgb(92,186,230)",
},
{
"code": "FR",
// ...
},
// ...
]
};
在上述代码中,是否可以添加子区域,例如“我的国家”“代码”:“在”
子区域中,如“In-AP”
,“In-KA”
,等等