Closed geoerika closed 2 years ago
Looks good and seems to work well. I also made some refactoring adjustments to the range control component in an incoming PR, so I'll just rebase it on this.
Question: why not use the slider component for opacity and outline width as well?
@kyle The design opted for text fields. I actually prefer the slider as well. Will ask Catherine.
Looks good and seems to work well. I also made some refactoring adjustments to the range control component in an incoming PR, so I'll just rebase it on this. Question: why not use the slider component for opacity and outline width as well?
@vxsl The outline is a bit trickier as it can appear on either sides of the panel and I only have the design to expend the menu to the right , it won't fit with the current slider implementation. But can certainly look into it. Also, the increments on that outline cannot be changed too drastically, so not sure, the arrows might be a better solution, if you try, there is almost no use case for after 5-6 pixels for outline. That's my next on the task list as well, look at the min and max and set them all more realistically. Most of them are fine, for outline I am torn to what value I should restrict the line width to, the 100 I am using now doesn't make much sense.
@vxsl The outline is a bit trickier as it can appear on either sides of the panel and I only have the design to expend the menu to the right , it won't fit with the current slider implementation. But can certainly look into it. Also, the increments on that outline cannot be changed too drastically, so not sure, the arrows might be a better solution, if you try, there is almost no use case for after 5-6 pixels for outline. That's my next on the task list as well, look at the min and max and set them all more realistically. Most of them are fine, for outline I am torn to what value I should restrict the line width to, the 100 I am using now doesn't make much sense.
Right that makes sense - don't have a strong opinion was just curious
Changes:
Editor Right Panel
range Radius, simple Radius & Elevation
sliders toLayer Display
section in the rightEditor
panelSlider
component which can function in both modes, simple or range and replacing theRange
component. Also, adjusted the with of the Slider to take the whole panel width to accommodate longer values.SliderControl
component which can be used in bothValue Filters
&MapLayerDisplay
componentsStylingMap
comp withMapLayerDisplay
compuniqueOptions
constants in type-info to include default values for map widgetTo Do: