New features for Cluster and Layer components
Cluster
- New prop
zoomOnClick
, zoom to fit the bounds of the map with the markers within the cluster on click on the cluster. - New prop
zoomOnClickPadding
, the amount of padding in pixels to add to the cluster bounds for the zoom.
Layer
- New prop
images
, add custom images to Mapbox style at runtime to use with the layer, see Layer doc