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

Make PolygonGraphics.hierarchy always produce a PolygonHierarchy. #7948

Closed
wants to merge 1 commit into from

Conversation

shunter
Copy link
Contributor

@shunter shunter commented Jun 18, 2019

For backwards compatibility we preserve the existing behavior of allowing an array of positions to be set.
This makes the behavior more closely match the documentation. The ability to set an array of positions
was undocumented, though some Sandcastle examples do this.

This removes the need for conversion in PolygonGeometryUpdater at the point where the data is used.

Looking through the history I believe this is the behavior intended but not completed in #2353.

@shunter shunter requested a review from mramato June 18, 2019 20:28
@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.

For backwards compatibility we preserve the existing behavior of allowing an array of positions to be set.
This makes the behavior more closely match the documentation. The ability to set an array of positions
was undocumented, though some Sandcastle examples do this.

This removes the need for conversion in PolygonGeometryUpdater at the point where the data is used.
@shunter shunter force-pushed the polygonHierarchy branch from 2928694 to 61b5cd6 Compare June 18, 2019 20:30
@shunter
Copy link
Contributor Author

shunter commented Jun 25, 2019

This needs more work. Closing for now. Will reopen when I've fixed the issues.

@shunter shunter closed this Jun 25, 2019
@shunter shunter deleted the polygonHierarchy branch June 27, 2019 14:14
# 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.

2 participants