inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
264 stars 51 forks source link

MarkerClusterer not rendering correctly on various zoomlevels #159

Closed Albatrauz closed 10 months ago

Albatrauz commented 10 months ago

Currently trying to create a dealer locator in Vue with this package. I've noticed some quirks when using the MarkerClusterer component, which I've been using like this: <MarkerCluster :options="{renderer: renderer}"> <Marker v-for="(marker, i) in locationsArray" :options="{ position: marker.position, icon: markeroptions.icon }" :key="i" @click="handleMarkerClick" /> </MarkerCluster>

What I've noticed is that on some zoom levels, markers and clustermarkers will disappear. When zooming in, these will reappear again. Is there something I can force to prevent this?

Albatrauz commented 10 months ago

Closed because using GridAlgorithm as cluster algorithm fixed my issue