Skip to content
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

Scaling of some tilesets in 2D mode #9748

Closed
chris-cooper opened this issue Aug 23, 2021 · 3 comments
Closed

Scaling of some tilesets in 2D mode #9748

chris-cooper opened this issue Aug 23, 2021 · 3 comments

Comments

@chris-cooper
Copy link
Contributor

There is a strange scaling being applied to tiles in this scenario:

  • SceneMode.SCENE2D
  • mapProjection: new Cesium.WebMercatorProjection()
  • tileset uses a geographic region for the tiles rather than bounds

Sandcastle example

You can see the effect on features near the edge being scaled towards the centre (highlighted in red):

image

The result on another tileset:
image

@ebogo1
Copy link
Contributor

ebogo1 commented Aug 26, 2021

Thanks for opening the issue @chris-cooper. I wonder if this is related to #5112... @lilleyse what do you think?

@chris-cooper
Copy link
Contributor Author

Thanks @ebogo1 , the gaps are only in one direction with the default GeographicProjection as in the issue you linked

image

@chris-cooper
Copy link
Contributor Author

This appears to be fixed with the projectTo2D option: #10384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants