Skip to content

Commit

Permalink
Add "Auto" option to Mapbox visualization point radius (#7579)
Browse files Browse the repository at this point in the history
* Add Auto option to point radius to make it work as expected since the example using this didn't work because of this (and also as the tooltip says the auto option should be available)

* Remove trailing space
  • Loading branch information
ali-bahjati authored and mistercrunch committed May 29, 2019
1 parent b21f8ec commit 2a2f395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ export const controls = {
'Either a numerical column or `Auto`, which scales the point based ' +
'on the largest cluster'),
mapStateToProps: state => ({
choices: columnChoices(state.datasource),
choices: formatSelectOptions(['Auto']).concat(columnChoices(state.datasource)),
}),
},

Expand Down

1 comment on commit 2a2f395

@beepupa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢

Please sign in to comment.