From c2a5cb8abd03e41b6efbd9aca81f58716801ad2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20K=C3=B6hn?= Date: Sun, 15 Oct 2023 14:32:34 +0200 Subject: [PATCH] getW3wColorRgba --- widgets/w3w/src/runtime/widget.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widgets/w3w/src/runtime/widget.tsx b/widgets/w3w/src/runtime/widget.tsx index 8fad548..7472d5e 100644 --- a/widgets/w3w/src/runtime/widget.tsx +++ b/widgets/w3w/src/runtime/widget.tsx @@ -397,7 +397,7 @@ export default class Widget extends BaseWidget, State> private getRenderer (color: __esri.Color) { const defaultSym = { type: 'simple-line', - width: '0.5px' + width: '2px' //'0.5px' } const renderer = { type: 'simple', @@ -414,11 +414,11 @@ export default class Widget extends BaseWidget, 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,