-
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
Label backgrounds #4715
Merged
Merged
Label backgrounds #4715
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
53e5284
Label backgrounds WIP
emackey 2e10d53
Merge branch 'billboards-dont-wiggle' into label-backgrounds
emackey f90a819
Fix some issues
emackey 113acae
Fix maxHeight.
emackey 6babe4f
Use an imageSubRegion to avoid the fringes.
emackey 000ac25
Remove debugging info.
emackey bce6efa
Started work on label background settings.
emackey 6f42315
Merge remote-tracking branch 'origin/master' into label-backgrounds
emackey 83a5e1b
Unused requires
emackey b54ccd5
Convert backgroundPadding to Cartesian2, add showBackground bool.
emackey 829439d
Fix vertical position of background with bottom and center alignments.
emackey 3173059
Hook up showBackground flag.
emackey 1e94844
Add CZML support for label backgrounds.
emackey fdb3ddf
Update Terrain demo to use label backgrounds.
emackey ed5f911
Remove poor assumptions from label tests.
emackey 39016dc
Make label.backgroundPadding count towards alignment.
emackey f0f3a1b
Add VerticalOrigin.BASELINE
emackey 3c6a76f
Fix various issues with value updates.
emackey 10045f6
Mostly fix getScreenSpaceBoundingBox.
emackey 77710be
Merge remote-tracking branch 'origin/master' into label-backgrounds
emackey e3010ad
More fixes to getScreenSpacePosition.
emackey a48848b
Scene parameter not needed, can get resolutionScale from collection.
emackey c21d922
Add tests.
emackey 981138f
Documentation update
emackey ac8e0d2
More doc updates, change default label primitive origin to BASELINE.
emackey 178d712
Add label to Ground Clamping example.
emackey f330bf3
Update default padding to be larger.
emackey 4b8c256
Add defaults to documentation.
emackey 854ee56
Code style change
emackey 53b4d35
Remove spare background billboard array.
emackey 3eb09e4
Disable background on empty labels.
emackey 05d680e
Use backgrounds a bit more in Sandcastle demos.
emackey 7b7e262
Fix typo.
emackey 85ae743
Merge remote-tracking branch 'origin/master' into label-backgrounds
emackey 82391da
CHANGES.md
emackey a36cf20
Don't test a function by copying its logic into the test.
emackey 0eb64e7
Make background color less harsh on clamping demo.
emackey b9b2104
Merge remote-tracking branch 'origin/master' into label-backgrounds
pjcozzi caa3eec
Merge remote-tracking branch 'origin/master' into label-backgrounds
emackey e76e693
Make label tests more robust, fix vertical center test.
emackey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong default is specified here, FYI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!