File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments