From ae2985f9b1ba309ed7e4e0fd514e84e650363ca5 Mon Sep 17 00:00:00 2001 From: danix89 Date: Thu, 17 Nov 2022 18:59:00 +0100 Subject: [PATCH 1/2] Fix binding with the new MarkerClusterer from @googlemaps/markerclusterer --- src/components/cluster.vue | 105 +++++++++++-------------------------- 1 file changed, 31 insertions(+), 74 deletions(-) diff --git a/src/components/cluster.vue b/src/components/cluster.vue index 9cdd065..2b11cd1 100644 --- a/src/components/cluster.vue +++ b/src/components/cluster.vue @@ -4,72 +4,26 @@ From f4c53d2012998c6531f4c831a664156232763b0e Mon Sep 17 00:00:00 2001 From: danix89 Date: Thu, 17 Nov 2022 20:18:55 +0100 Subject: [PATCH 2/2] Fix binding with the new MarkerClusterer from @googlemaps/markerclusterer --- src/components/cluster.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/cluster.vue b/src/components/cluster.vue index 2b11cd1..54eec3e 100644 --- a/src/components/cluster.vue +++ b/src/components/cluster.vue @@ -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();