Skip to content

Commit

Permalink
getW3wColorRgba
Browse files Browse the repository at this point in the history
  • Loading branch information
esride-nik committed Oct 15, 2023
1 parent 0837b70 commit c2a5cb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions widgets/w3w/src/runtime/widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default class Widget extends BaseWidget<AllWidgetProps<IMConfig>, State>
private getRenderer (color: __esri.Color) {
const defaultSym = {
type: 'simple-line',
width: '0.5px'
width: '2px' //'0.5px'
}
const renderer = {
type: 'simple',
Expand All @@ -414,11 +414,11 @@ export default class Widget extends BaseWidget<AllWidgetProps<IMConfig>, State>
stops: [
{
value: 0,
color: 'rgba(230, 230, 230, 0.5)'
color: this.getW3wColorRgba(0.1)
},
{
value: 0.8,
color: 'rgba(200, 100, 100, 0.6)'
color: this.getW3wColorRgba(0.3)
},
{
value: 1,
Expand Down

0 comments on commit c2a5cb8

Please sign in to comment.