-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Entity API use custom ellipsoid #3543
Comments
The (simply by hacky) workaround for this is to actually modify It might actually be a decent real solution to have This seems way more elegant of a solution when you only have a single custom ellipsoid in an application. |
The actual problem here is that all of the |
Also brought up for CZML in #11185. |
Hi moving discussion regarding my issue above here as requested. While indeed in a similar category as this issue, my issue was more specifically looking for guidance to provide a working solution to CzmlDataSource that would follow code conventions you guys would be happy with. If not desired for the project I understand! The suggestion by the Cesium team to overwrite cesium/packages/engine/Source/Core/Cartesian3.js Lines 895 to 899 in 9295450
So wherever internal Cesium code exists that is calling |
It looks like the Entity API only uses the default Ellipsoid.WGS84. As a result, you can't really use it if you need a custom ellipsoid. In this example, the polygon is hovering above the globe because the ellipsoid is smaller than earth:
The text was updated successfully, but these errors were encountered: