keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.39k stars 1.74k forks source link

Separately adjust opacity of stroke and fill #959

Open tjukanovt opened 4 years ago

tjukanovt commented 4 years ago

Is your feature request related to a problem? Please describe. I would like to separately adjust the opacity for polygon stroke and fill. Now when opacity is adjusted, both elements are affected. Also now if I disable the polygon fill, I can not adjust the opacity of the stroke at all. The latter is almost like a bug to me.

Describe the solution you'd like I would like to have two opacity sliders, one for stroke and one for fill.

Describe alternatives you've considered Adding just more sliders like this might make the UI harder to use at some point, so a more sensible solution from UI design perspective would be better in the long run. But for now I'd say that adding one slider there won't do no harm (famous last words...)

Additional context Here's a screenshot of the dialog I am talking about: image

heshan0131 commented 4 years ago

https://github.com/uber/deck.gl/pull/4296

heshan0131 commented 4 years ago

https://github.com/keplergl/kepler.gl/pull/966