ArcGIS API for js 4.0 BUG (四)官网Legend->layerInfos->title无效

问题描述,图例标题设置后没有效果。
证明:官网链接
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=widgets-legend
找到:title: "NY Educational Attainment"
改为:title: "NY asjdfhalkdfa"
然后Run,证实无效。
已邀请:

徐鸿至

赞同来自: 徐晨光 谢军

有点小问题,可以workaround,在初始化Legend之前,设置一下FeatureLayer的title:
featureLayer.title = 'fdsfdsf';

江民彬

赞同来自: 谢军

这种问题建议发送邮件到support@esrichina.com.cn。让esri china的对应工程师去帮复现下。

要回复问题请先登录注册