查询过滤条件参数类(FilterParameter)中图层名(name)实现和变量(a)匹配该怎么写?直接调用或者‘“+a+”’都不可以。。。
例如:queryParam =new SuperMap.REST.FilterParameter({name:"Company@Changchun.2"});
用 var a = "Company@Changchun.2";
queryParam =new SuperMap.REST.FilterParameter({name:"a"});或 者queryParam =new SuperMap.REST.FilterParameter({name:"'"+a+"'"});
或者 var a = "Company", b ="Changchun.2";
queryParam =new SuperMap.REST.FilterParameter({name:"a@b"});
都不成功