1. A concise explanation of the problem you’re experiencing.
I have a geojson file which i load as a baselayer using viewer.datasource and have several other geojsons that load on top of the baselayer. I want to make the baselayer geojson file not be selected when clicking on the polygon and being shown in the cesium info box. Is there a way to do so.
Your best bet for now would be to use drillPick (see https://cesium.com/docs/cesiumjs-ref-doc/Scene.html?classFilter=scene#drillPick) which will return a list of all objects under the mouse, and you can filter that for the objects you want to be selectable. You can control which entity is selected programmatically by setting the following property on the viewer: