Mouse click keeps on selecting entities with garbage description

I have put my own wms layer on Cesium and when I click anywhere on the globe, some unknown things(may be entities) are getting selected with green indicator ON and I keep on getting some garbage description. I have attached a snapshot of the issue. Can anyone help me stop this ?

Hi,

The garbage description is coming from your WMS server. You can stop Cesium from querying your WMS server for features on click by passing “enablePickFeatures: false” when constructing your WebMapServiceImageryProvider:

https://cesiumjs.org/Cesium/Build/Documentation/WebMapServiceImageryProvider.html

Kevin

Thank you so much Kevin for your quick reply. And yes, it worked.

Thanks,

Parthesh.