You can reproduce it on every demo on cesium website, like this one:
http://shinsai.mapping.jp/index_en.html
It works on Opera and Firefox
Google Chrome Version: '49.0.2623.87 m'
scene.pick(click.position) with the click position returns undefined
var viewer = new Cesium.Viewer('cesiumContainer');
var entity = viewer.entities.add({
position : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
billboard : {
image : '../images/Cesium_Logo_overlay.png'
}
});
var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);
handler.setInputAction(function(movement) {
var pickedObject = viewer.scene.pick(movement.endPosition);
if (Cesium.defined(pickedObject) && (pickedObject.id === entity)) {
entity.billboard.scale = 2.0;
entity.billboard.color = Cesium.Color.YELLOW;
} else {
entity.billboard.scale = 1.0;
entity.billboard.color = Cesium.Color.WHITE;
}
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
Works fine in Firefox, but can't get scene.pick to work in Chrome at all anymore. Even tried the incognito test and it still fails.
No error return, just doesn't pick.
Works fine on other machines in office.
I'm in Windows 7 Pro, with a AMD RADEON HD 6350
I'm having the same issue.
Chrome 50.0.2661.94 m (64-bit)
AMD Radeon(TM) HD 8490, driver: 13.351.1007.1006
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
i'm not sure if this way solve in all machines, i will confirm at monday and let you guys updated.