Skip to content

Commit e930a53

Browse files
committed
do not show marker sizes for icons
1 parent a366621 commit e930a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class DynamicSizeProperty extends DynamicStyleProperty<SizeDynamicOptions
142142
}
143143

144144
renderLegendDetailRow() {
145-
return this.getStyleName() === VECTOR_STYLES.ICON_SIZE ? (
145+
return this.getStyleName() === VECTOR_STYLES.ICON_SIZE && !this._isSymbolizedAsIcon ? (
146146
<MarkerSizeLegend style={this} />
147147
) : (
148148
<OrdinalLegend style={this} />

0 commit comments

Comments
 (0)