Skip to content

Commit

Permalink
Fix opacity of draw tool polygon
Browse files Browse the repository at this point in the history
Issue #2180
  • Loading branch information
robyngit committed Oct 13, 2023
1 parent 2926dec commit 516cd60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/views/maps/DrawToolView.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ define(["backbone", "models/connectors/GeoPoints-CesiumPolygon", "models/connect
* between 0 and 1.
* @type {number}
*/
opacity: 0.5,
opacity: 0.3,

/**
* Initializes the DrawTool
Expand Down Expand Up @@ -193,6 +193,7 @@ define(["backbone", "models/connectors/GeoPoints-CesiumPolygon", "models/connect
description: "The polygon that you are drawing on the map",
hideInLayerList: true,
outlineColor: this.color,
highlightColor: this.color,
opacity: this.opacity,
colorPalette: {
colors: [
Expand Down

0 comments on commit 516cd60

Please sign in to comment.