You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
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.
Omar Shehata
unread,
Nov 4, 2019, 1:37:52 PM11/4/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cesium-dev
There currently isn't a way to disable picking on a particular data source, although we have an open feature request here:
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: