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

Use DiscardEmptyTileImagePolicy for all Bing styles. #7810

Merged
merged 1 commit into from
May 8, 2019

Conversation

shunter
Copy link
Contributor

@shunter shunter commented May 3, 2019

This removes the need to inspect pixel values to detect the placeholder "missing tile" image.

Also change DiscardEmptyTileImagePolicy.EMPTY_IMAGE to be a real (blank) image.
This way we always satisfy the documented API of requestImage.

Fixes #1353.

@cesium-concierge
Copy link

Thanks for the pull request @shunter!

  • ✔️ Signed CLA found.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

This removes the need to inspect pixel values to detect the placeholder "missing tile" image.

Also change `DiscardEmptyTileImagePolicy.EMPTY_IMAGE` to be a real (blank) image.
This way we always satisfy the documented API of `requestImage`.

Fixes #1353.
@mramato
Copy link
Contributor

mramato commented May 8, 2019

Works as promised. Thanks @shunter!

@mramato mramato merged commit f93dfe8 into master May 8, 2019
@mramato mramato deleted the bingMapsDiscardPolicy branch May 8, 2019 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tweak Bing maps missing tile detection
3 participants