Skip to content

Commit eca87ba

Browse files
Hugh LomasHugh Lomas
authored andcommitted
Fix src, compile the lib file
1 parent 7b86306 commit eca87ba

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.2.1 Release
2+
3+
- Fix getMaxZoom returning props.radius instead of props.maxZoom, fix misnamed call to getMax instead of getMaxZoom in redraw()
4+
15
# 0.2.0 Release
26

37
- adds an `onStatsUpdate` prop which is called on redraw with a { min, max } object containing the min and max number of items found for a single coordinate

src/HeatmapLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default class HeatmapLayer extends MapLayer {
237237

238238
const maxZoom = this.props.maxZoom === undefined
239239
? this.props.map.getMaxZoom()
240-
: this.getMax(this.props);
240+
: this.getMaxZoom(this.props);
241241

242242
const v = 1 / Math.pow(
243243
2,

0 commit comments

Comments
 (0)