如下图管网场景,我生成s3m缓存,不包含矢量图层数据,发布成三维和数据服务,数据服务中也无数据,请问该怎么操作才能使用下面的方式点击获取管网信息
var layer = scene.layers.find('jinjiang');
//设置属性查询参数
layer.setQueryParameter({
url: 'http://www.supermapol.com/realspace/services/data-jinjiang/rest/data',
dataSourceName: 'jinjiang',
dataSetName: 'test',
keyWord: 'SmID'
});
viewer.pickEvent.addEventListener(function(feature){
console.log(feature);
var title = Cesium.defaultValue(feature.NAME,'');
var description = Cesium.defaultValue(feature.DES,'');
title.innerText = title;
des.innerText = description;
myimg.src = "./images/" + title + ".jpg";
});