Skip to content

Commit bfafdff

Browse files
committed
Try to fix error "setMaxZoom is not a method of (the Maps object corresponding to) undefined"
1 parent 9023e6f commit bfafdff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/cluster.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import { MarkerClusterer } from "@googlemaps/markerclusterer";
88
import buildComponent from './build-component.js'
99
1010
const props = {
11-
maxZoom: {
12-
type: Number,
13-
twoWay: false,
14-
},
11+
// maxZoom: {
12+
// type: Number,
13+
// twoWay: false,
14+
// },
1515
batchSizeIE: {
1616
type: Number,
1717
twoWay: false,
@@ -83,7 +83,7 @@ export default buildComponent({
8383
}
8484
return MarkerClusterer
8585
},
86-
ctrArgs: ({ map, ...otherOptions }) => [map, [], otherOptions],
86+
ctrArgs: ({ map, ...otherOptions }) => [map, otherOptions],
8787
afterCreate(inst) {
8888
const reinsertMarkers = () => {
8989
const oldMarkers = inst.getMarkers()

0 commit comments

Comments
 (0)