Skip to content

Update Feature Transparency Based on Score#11

Merged
akmorrow13 merged 1 commit intoakmorrow13:masterfrom
snaheth:master
Mar 6, 2017
Merged

Update Feature Transparency Based on Score#11
akmorrow13 merged 1 commit intoakmorrow13:masterfrom
snaheth:master

Conversation

@snaheth
Copy link
Copy Markdown

@snaheth snaheth commented Mar 6, 2017

A simple fix.

You may see issues of the canvas rectangles stacked on top of each other. This is important because an opacity of an opacity is not accurate representation of the feature's score. We can look at this together if that's the case.

ctx.lineWidth = 1;
ctx.fillStyle = 'black';

var featureTransp = feature.score / 10;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure it is still visible when score is 0

@akmorrow13 akmorrow13 merged commit ba2ce8b into akmorrow13:master Mar 6, 2017
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.

2 participants