如图,黄色线以内的港区是过滤好并展示了,只展示了泰州的港区,但标签还是展示的全省。绿色的名字就是基于港区专题图做的标签专题图。怎么让名称也过滤展示呢?
var layerStatus = new SuperMap.REST.LayerStatus(
{
layerName : layer,//L_MD_GH_PY@gkzy
isVisible : true,
displayFilter : "SZGKBM in ("+getGKDM()+")"
});
var setLayerStatusParameters = new SuperMap.REST.SetLayerStatusParameters({layerStatusList : [ layerStatus ]});
var setLayerStatusService = new SuperMap.REST.SetLayerStatusService(url, {