Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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.

@shunter shunter force-pushed the bingMapsDiscardPolicy branch from cbc2429 to c3e60fa Compare May 3, 2019 16:06
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.
@shunter shunter force-pushed the bingMapsDiscardPolicy branch from c3e60fa to 9966a08 Compare May 6, 2019 20:33
@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
# for free to join this conversation on GitHub. Already have an account? # 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