您好!让SuperMap.Layer.Vector这个图层显示出每个Feature的name值,可以给这些要素的style加一个label参数,标签的内容就是获取的attributes里面的name,你可以参考一下这个范例:
http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/examples/examples.html#basicalGeometry_label
style参数设置,请参考:http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/apidoc/files/SuperMap/Feature/Vector-js.html#SuperMap.Feature.Vector.SuperMap.Feature.Vector.style