xtinec commented on a change in pull request #5902: [refactor] Remove
dependency on personal fork of supercluster from mapbox visualizations
URL:
https://github.com/apache/incubator-superset/pull/5902#discussion_r218212785
##########
File path: superset/assets/src/visualizations/MapBox/MapBox.jsx
##########
@@ -98,14 +103,14 @@ class MapBox extends React.Component {
isDragging={isDragging}
width={width}
height={height}
- locations={Immutable.fromJS(this.clusters)}
+ locations={Immutable.fromJS(clusters)}
dotRadius={pointRadius}
pointRadiusUnit={pointRadiusUnit}
rgb={rgb}
globalOpacity={globalOpacity}
compositeOperation={'screen'}
renderWhileDragging={renderWhileDragging}
- aggregatorName={aggregatorName}
+ aggregation={customMetric ? aggregatorName : undefined}
Review comment:
Yep, can change this to `null`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]