File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class MapExample extends React.Component {
2121 < Map center= {[0 ,0 ]} zoom= {13 }>
2222 < HeatmapLayer
2323 fitBoundsOnLoad
24+ fitBoundsOnUpdate
2425 points= {addressPoints}
2526 longitudeExtractor= {m => m[1 ]}
2627 latitudeExtractor= {m => m[0 ]}
@@ -48,6 +49,7 @@ The `HeatmapLayer` component takes the following props:
4849- ` latitudeExtractor ` : * required* a function that returns the object's latitude e.g. ` marker => marker.lat `
4950- ` intensityExtractor ` : * required* a function that returns the object's intensity e.g. ` marker => marker.val `
5051- ` fitBoundsOnLoad ` : boolean indicating whether map should fit data in bounds of map on load
52+ - ` fitBoundsOnUpdate ` : boolean indicating whether map should fit data in bounds of map on Update
5153- ` max ` : max intensity value for heatmap (default: 3.0)
5254- ` radius ` : radius for heatmap points (default: 30)
5355- ` maxZoom ` : maximum zoom for heatmap (default: 18)
You can’t perform that action at this time.
0 commit comments