Skip to content

Commit

Permalink
Remove unnecessary bubble size short circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
chowington committed Aug 8, 2023
1 parent f57339b commit ff12879
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,6 @@ export function useStandaloneMapMarkers(
const largestCircleDiameter = 90;
const smallestCircleDiameter = 10;

if (
adjustedBubbleLegendData.minSizeValue ===
adjustedBubbleLegendData.maxSizeValue
) {
return (largestCircleDiameter + smallestCircleDiameter) / 2;
}

// Area scales directly with value
// const constant = largestCircleArea / maxOverlayCount;
// const area = value * constant;
Expand Down

0 comments on commit ff12879

Please sign in to comment.