Skip to content

Commit

Permalink
[KNOWAGE-8380] Fix thresholds in map widget
Browse files Browse the repository at this point in the history
  • Loading branch information
kerny3d committed Jan 26, 2024
1 parent 43753e3 commit add9877
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
}

if (isChoropleth) {
var extColor = mts.getColorFromClassification(externalLegend, value, parentLayer);
// Fixed like this in KNOWAGE-8380 but... TODO because the color is determined too many times
var extColor = mts.getColorByThresholds(value, props) || mts.getColorFromClassification(externalLegend, value, parentLayer);
var configMarker = config.markerConf || {};
if (coordType == "string") {
style = mts.getMarkerStyles(externalLegend, value, parentLayer, props, configMarker, extColor);
Expand Down

0 comments on commit add9877

Please sign in to comment.