CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.94k stars 3.49k forks source link

An error occurred while I set entity viewFrom when I trackedEntity the entity in 2D #7603

Open C-rystal opened 5 years ago

C-rystal commented 5 years ago
Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=zVdbb9s2FP4rRF4sNwoly/ElTlosS9qtQ5p4dZbtwUBBS7RNRCIFkorrDf3vO6REW7KVIY8L2kSizuXjdy48fCESvTC6oRK9R5xu0A1VrMjwk13zOrF9vRFcE8ap7PjonzlH8KPWokiTa84youkEaVlQv/oSU06/iIROKlszt4BnNx/vP0a3c/6jeznncx4EX8gzRaqQ1KFgChGN9JqiBLQlTZBmGcVz/gJIlSZSA9DK8G9Fygi/BQB4KUVmHjyzB/sQhb2xj3o9+B91jTtjQAtN0hmNBU8U2OmFl86wyFvtkiSpxD3r3G+Y8OuU7bW80p/dEI5TET9jq/wIOwEv9tmsc5A8FhT5Tk7kr4nFhZSUv8mi/f2V8BXd7/Bmt4bvHh6m32aPD9O9nmE8hXDjv4XIHoXbucHj4oZuJIWdIoJyotdoKSQSBaQSXbM4pWixRSmVOeMrtKB6QylHeiNQLhTTTHBVxdO9N3NvRrI8pcm0+jiVIqdSb73uZS0Lpq2qN/AFngjve2dRf3QxGAzx6OKiP4rGw3MfnZ0Ph4NBNMZROAj7YTTs+6g/jMZhr4974XBwcTEcjZ0bypO3ORmGfTwKR+e9sD86H1VehlEfn48vLsJoXDoZjYchHkej8HwwHBkfQOI1EAaRYHoLD7EGEvNqs2jD0hSt2AtFhbLlANEGuY5CKqdQFYQnKIH6iC0+KBnCt1ae1wvGmX+y1h2TB6XeKuO52PhoSVJFHStNi68SU21wBjLUwt+sKU0BvYTysZDFC1S7gYoY4Ecu6JX7Cr/VuuarlLZjP9Dy7otsQaXDutcGrdBmrlnmVuhhWSqXfcB8NUnsGQFmxeHP1ftD4Ut0esq6rgka4SWpiPAYCg7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UAszGQakTWvQ935SLG+CqA12MtLQQkiqxZ/Bc Browser: the latest chrome Operating System: win10
hpinkos commented 5 years ago

Thanks for including the Sandcastle example @C-rystal! viewFrom isn't being handled correctly in 2D, which can only have a top-down camera angle. That's what's causing the crash

TheMrCoder commented 5 years ago

I have the same problem. If there is any progress, please let me know. Thank you.

C-rystal commented 5 years ago

Thanks for including the Sandcastle example @C-rystal! viewFrom isn't being handled correctly in 2D, which can only have a top-down camera angle. That's what's causing the crash

But It can be displayed correctly through Scene Mode Picker

TheMrCoder commented 5 years ago

Thanks for including the Sandcastle example @C-rystal! viewFrom isn't being handled correctly in 2D, which can only have a top-down camera angle. That's what's causing the crash

But It can be displayed correctly through Scene Mode Picker

Although no errors occurred, it was not the expected effect.Are you the same?