@@ -40,6 +40,10 @@ var _simpleheat = require('simpleheat');
4040
4141var _simpleheat2 = _interopRequireDefault ( _simpleheat ) ;
4242
43+ var _propTypes = require ( 'prop-types' ) ;
44+
45+ var _propTypes2 = _interopRequireDefault ( _propTypes ) ;
46+
4347function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
4448
4549function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
@@ -403,19 +407,19 @@ var HeatmapLayer = function (_MapLayer) {
403407} ( _reactLeaflet . MapLayer ) ;
404408
405409HeatmapLayer . propTypes = {
406- points : _react2 . default . PropTypes . array . isRequired ,
407- longitudeExtractor : _react2 . default . PropTypes . func . isRequired ,
408- latitudeExtractor : _react2 . default . PropTypes . func . isRequired ,
409- intensityExtractor : _react2 . default . PropTypes . func . isRequired ,
410- fitBoundsOnLoad : _react2 . default . PropTypes . bool ,
411- fitBoundsOnUpdate : _react2 . default . PropTypes . bool ,
412- onStatsUpdate : _react2 . default . PropTypes . func ,
410+ points : _propTypes2 . default . array . isRequired ,
411+ longitudeExtractor : _propTypes2 . default . func . isRequired ,
412+ latitudeExtractor : _propTypes2 . default . func . isRequired ,
413+ intensityExtractor : _propTypes2 . default . func . isRequired ,
414+ fitBoundsOnLoad : _propTypes2 . default . bool ,
415+ fitBoundsOnUpdate : _propTypes2 . default . bool ,
416+ onStatsUpdate : _propTypes2 . default . func ,
413417 /* props controlling heatmap generation */
414- max : _react2 . default . PropTypes . number ,
415- radius : _react2 . default . PropTypes . number ,
416- maxZoom : _react2 . default . PropTypes . number ,
417- minOpacity : _react2 . default . PropTypes . number ,
418- blur : _react2 . default . PropTypes . number ,
419- gradient : _react2 . default . PropTypes . object
418+ max : _propTypes2 . default . number ,
419+ radius : _propTypes2 . default . number ,
420+ maxZoom : _propTypes2 . default . number ,
421+ minOpacity : _propTypes2 . default . number ,
422+ blur : _propTypes2 . default . number ,
423+ gradient : _propTypes2 . default . object
420424} ;
421425exports . default = HeatmapLayer ;
0 commit comments