Skip to content

Commit efb8897

Browse files
committed
Transpile updates
1 parent 69611e5 commit efb8897

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/HeatmapLayer.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ var HeatmapLayer = function (_MapLayer) {
101101
}
102102

103103
this.attachEvents();
104-
this.updateHeatmapProps(this.getHeatmapProps());
104+
this.updateHeatmapProps(this.getHeatmapProps(this.props));
105105
this.reset();
106106
};
107107

@@ -125,14 +125,14 @@ var HeatmapLayer = function (_MapLayer) {
125125
return props.blur || 15;
126126
};
127127

128-
HeatmapLayer.prototype.getHeatmapProps = function getHeatmapProps() {
128+
HeatmapLayer.prototype.getHeatmapProps = function getHeatmapProps(props) {
129129
return {
130-
minOpacity: this.getMinOpacity(this.props),
131-
maxZoom: this.getMaxZoom(this.props),
132-
radius: this.getRadius(this.props),
133-
blur: this.getBlur(this.props),
134-
max: this.getMax(this.props),
135-
gradient: this.props.gradient
130+
minOpacity: this.getMinOpacity(props),
131+
maxZoom: this.getMaxZoom(props),
132+
radius: this.getRadius(props),
133+
blur: this.getBlur(props),
134+
max: this.getMax(props),
135+
gradient: props.gradient
136136
};
137137
};
138138

0 commit comments

Comments
 (0)