You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found an interesting bug. I've been looking at the Draw On Globe example where you can draw path's and points on the globe based on mouse clicks. The demo was working great but my code had massive alignment issues on where the path's and points were drawn.
I finally tracked it down to disabling the baseLayerPicker on the Viewer. If you set it to false the pickPosition no longer gives good coordiantes. The more you TILT you screen the worse it seems to get.
See the sand case below where all I added was baseLayerPicker: false.
I think this is a combination of two other issues. The pickPosition due to depthTestAgainbstTerrain value issue is detailed in #4368. That value being set by Viewer and BaseLayerPicker is discussed in #6991.
I found an interesting bug. I've been looking at the Draw On Globe example where you can draw path's and points on the globe based on mouse clicks. The demo was working great but my code had massive alignment issues on where the path's and points were drawn.
I finally tracked it down to disabling the baseLayerPicker on the Viewer. If you set it to false the pickPosition no longer gives good coordiantes. The more you TILT you screen the worse it seems to get.
See the sand case below where all I added was baseLayerPicker: false.
Sandcastle example:
https://sandcastle.cesium.com/#c=nVdtc9o4EP4rOr6cmaEiaZt7IWnnUkIb5pLCBNrMXekkir1gTY3kkWQId5P/fitLxjYveTm+ANLual+efbRaMEUWHJagyDsiYEm6oHk2p1/ztWDSCPP/XSkM4wLUpNEi/04EIRoSCA2Xoi8iHjIjVYdMWaKhZXe5mMoP8r66dMc0XLAVqCEPf8BamrTb5OTVK7RnDBczYqTbIHcK2A9NTAwkRY2h1NweZ00ZUAq9GSq54JE15Z0OUcXAtVRJNHYiQRPPfmgeT1CPT0nwk4uV6hAE0KrdUZamUhmImi6+JReRXFKWgDKYhnHMNboklxozFUnQREhDtFOqOUgnDXvegz3Sn+ZyeM2jGRg8WgGIUcpC6C1AmHMmIjyEKpjLBfRFmpnTPLGBdcNHNtpQGq9SoBe9j+Obs8GXDxe9m+5Fv/vnRNiTp5nI9YlLx1ByYYKlTUrhog9xgbVP7S6W3nuKplECNGVRFORCBEWcVofUjLSKXTTQIV6WkFAmsqxI1/6j1+f9ca9VSKT8HpIR/wc65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WeDr7Tv3bynnOJnYlx/DSwJZmdhhzl7o+aNTl+8oN6skUv44NdXnURfpG38x8YZOlZyfwQyhp4NXh69f09cHR7+1yNtf6OHvR0ctcnhwcEAP3FRYu0MLC8FRLtEi9e+me1zt8mSsmNBTqeYFw+Lsqvj9W9o/630e98d/WcVGq3GizSqB90U+/+DzHCyZSgJK2wbmaYJp1+27DB/IhoZ6fbudtKuqJxFfEB692/E4tw8DrXFnmiX5G2vSeH/SRvktVSSPCKs5wEEpYSsrFh++v3CLlNKTNv7drWlcJTcs/wc
Browser: Chrome / Edge
Operating System: Windows
The text was updated successfully, but these errors were encountered: