We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ed962 commit dbeb780Copy full SHA for dbeb780
packages/base/src/dialogs/symbology/vector_layer/types/Graduated.tsx
@@ -285,7 +285,16 @@ const Graduated: React.FC<ISymbologyTabbedDialogWithAttributesProps> = ({
285
286
const stopOutputPairs =
287
symbologyTab === 'radius'
288
- ? stops.map(v => ({ stop: v, output: v }))
+ ? stops.map(v => {
289
+ const scaled =
290
+ minValue !== undefined && maxValue !== undefined
291
+ ? minValue +
292
+ ((v - Math.min(...stops)) /
293
+ (Math.max(...stops) - Math.min(...stops))) *
294
+ (maxValue - minValue)
295
+ : v;
296
+ return { stop: scaled, output: scaled };
297
+ })
298
: Utils.getValueColorPairs(
299
stops,
300
selectedRamp,
0 commit comments