Fix binding with the new MarkerClusterer from @googlemaps/markerclusterer

This commit is contained in:
danix89
2022-11-17 20:18:55 +01:00
parent ae2985f9b1
commit f4c53d2012

View File

@@ -37,11 +37,7 @@ export default buildComponent({
}
return MarkerClusterer;
},
ctrArgs: ({map, ...otherOptions}) => [{
map,
algorithm: otherOptions.algorithm,
renderer: otherOptions.renderer,
}],
ctrArgs: ({map, ...otherOptions}) => [{map, ...otherOptions}],
afterCreate(inst) {
const reinsertMarkers = () => {
const oldMarkers = inst.getMarkers();