When using MarkerClusterer, and passing a custom array for the clusters via the styles prop, the top and left absolute positioning css styles are not added to the cluster div. This means the clusters are in the center of the page, and don't move relative to the map.
Please provide an explanation
When using
MarkerClusterer
, and passing a custom array for the clusters via thestyles
prop, the top and left absolute positioning css styles are not added to the cluster div. This means the clusters are in the center of the page, and don't move relative to the map.Your Environment
os: windows react version: 16.13.1 webpack version: 4.41.0 @babel version: 7.6.0 @react-google-maps/api version: 2.0.2
Basic implementation of incorrect behavior in codesandbox.com
https://codesandbox.io/s/exciting-mclaren-wci58?file=/src/index.js