I'm working with mapserver and i want to get the feature info from many layers but the WebMapServiceImageryProvider just allow the info from one layer through the ImageryLayerFeatureInfo Object, i want to extend the WebMapServiceImageryProvider and add the method getJsonToMultiLayerFeatureInfo and create the ImageryMultiLayerFeatureInfo to show the info from diferent layers with tables in panels. is it the right way? or is there a easiest way? thanks.
Cesium support this (layer=tungurahuacantones):
new Cesium.WebMapServiceImageryProvider({
url : ‘http://mapas.tungurahua.gob.ec/base’,
layers : ‘tungurahuacantones’,
parameters : {
transparent:true,
format : ‘image/png’,
},
getFeatureInfoParameters:{
info_format:“application/geojson”
},
getFeatureInfoAsXml:false,
getFeatureInfoAsGeoJson:true,
});
I want to enable the support for this(layer=tungurahuacantones,poblados,Rios):
new Cesium.WebMapServiceImageryProvider({
url : ‘http://mapas.tungurahua.gob.ec/base’,
layers : ‘tungurahuacantones,poblados,Rios’,
parameters : {
transparent:true,
format : ‘image/png’,
},
getFeatureInfoParameters:{
info_format:“application/geojson”
},
getFeatureInfoAsXml:false,
getFeatureInfoAsGeoJson:true,
});
PD: sorry for my poor English XD.