Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# 1.0.4 Release
- Documentation: Set height and width on <Map/> component to prevent getImageData error

# 1.0.3 Release
- Fixed warning "Accessing PropTypes via the main React package is deprecated"

# 1.0.2 Release
- Fix bug where radius, blur, and max were not being used when passed in as props.

# 1.0.1 Release
- Fix bug in componentWillUnmount->safeRemoveLayer where getPanes doesn't return anything so .contains is called on undefined.
- Fix bug in componentWillUnmount->safeRemoveLayer where getPanes doesn't return anything so .contains is called on undefined.

# 1.0.0 Release
- Leaflet 1.0.0 support
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MapExample extends React.Component {
render() {
return (
<div>
<Map center={[0,0]} zoom={13}>
<Map center={[0,0]} zoom={13} style={{width: 500, height: 500}}>
<HeatmapLayer
fitBoundsOnLoad
fitBoundsOnUpdate
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-leaflet-heatmap-layer",
"version": "1.0.3",
"version": "1.0.4",
"description": "A custom layer for heatmaps in react-leaflet",
"main": "lib/HeatmapLayer.js",
"scripts": {
Expand Down
Loading