Change call to getMax to getMaxZoom
Change call to getMax to getMaxZoom

This is another error where getMax (intensity) is called instead of getMaxZoom
OpenGov/react-leaflet-heatmap-layer,OpenGov/react-leaflet-heatmap-layer