-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
TileMapServiceImageryProvider extent does not work #416
Comments
I did some research on this bug. It appears that Cesium.TileMapServiceImageryProvider.getExtent() returns proper coordinates. In less detailed zoom levels the tile is bigger than the extent which means that when extent returned by imagery provider is smaller than extent of the tile, tile should be cropped. |
Agreed, the tile should be cropped. I believe there's code to do that in place in |
This problem only happens when the tiles on the server have a different extent from the extent specified in the constructor. It looks like the extent is used to limit which imagery tiles are associated with terrain tiles, but it is not used to limit the portion of the imagery tiles that applied to those terrain tiles. |
I open a pull request: #1010 |
Open the Black Marble example. Replace the
addImageryProvider
call with the following:Run it. The Black Marble layer does not take up the same extent as the single image. As you zoom in and out, its extent changes.
The text was updated successfully, but these errors were encountered: