Skip to content

DM-6950: improve overlay labels #145

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

Merged
merged 2 commits into from
Aug 12, 2016
Merged

Conversation

ejoliet
Copy link
Contributor

@ejoliet ejoliet commented Aug 12, 2016

I've removed white background on the text labels and and made color the same as the overlay itself.
Please check that it is the case for the overlays in general (grid, markers, distance tool, compass).
Thanks!

@@ -127,7 +127,8 @@ function drawDirectionArrow(ctx,drawTextAry,startPt,endPt,drawParams,renderOptio

//FIXME:color text black on white background - yellow on white background is not readable
//TODO: better solution would be to adapt text color with background
DrawUtil.drawText(drawTextAry, text, ret.textX, ret.textY,'black', renderOptions);
// DM-6950
DrawUtil.drawText(drawTextAry, text, ret.textX, ret.textY, color, renderOptions);
Copy link
Contributor

Choose a reason for hiding this comment

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

you should take out the todo comments here since it is done.

@robyww
Copy link
Contributor

robyww commented Aug 12, 2016

This all looks good. I think it is better than it was. Looks cleaner. My only issue is just keeping the support at the low level so that if we case a case we want it.

Review Complete.

@ejoliet ejoliet merged commit c6ba0d9 into dev Aug 12, 2016
@ejoliet ejoliet deleted the DM-6950-improve-overlay-labels branch August 12, 2016 23:27
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