-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add handling for line type in vector layer #143
Conversation
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!
: '#F092DD' | ||
: layerParameters.type === 'line' | ||
? 'rgba(0, 0, 0, 0)' | ||
: '#F092DD' |
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.
Should we really keep that #F092DD default?
I'm not sure I understand in which case this #F092DD value will be used
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.
Should we really keep that #F092DD default?
I'm not sure I understand in which case this #F092DD value will be used
I kept it for just in case 😅. However the above conditional logic covers all existing types. I'm happy to remove it.
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.
Cool :) Let's clean it up then :D
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.
Done.
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!
Follow up on #141
jgis-color.mov
Line type should not be filled which was previously filled with default
#F092DD
color. This PR adds the handling to set transparent color for line type in Vector layer styling.