1. A concise explanation of the problem you're experiencing.
I cannot pick or drill pick billboards that are displaying on my globe.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
I try to pick them by doing:
var objects = scene.drillPick(new Cesium.Cartesian2(event.clientX, event.clientY));
which returns an array length 0.
I think it may be because I am just adding them to a billboard collection?
I have:
billboards = viewer.cesiumWidget.scene.primitives.add(new Cesium.BillboardCollection());
and then I add them by:
billboards.add ({
position: cartesian,
image: pinBuilder.fromColor(Cesium.Color.RED, 30).toDataURL(),
verticalOrigin: Cesium.VerticalOrigin.BOTTOM
});
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I am simply trying to pick a billboard that appears on my globe.
4. The Cesium version you're using, your operating system and browser.
Cesium 1.47, Centos, Firefox