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
272 stars 54 forks source link

Can we Set minimum size for cluster ? #106

Closed hengseyha closed 1 year ago

hengseyha commented 1 year ago

Can you please help me set the minimum cluster size?

HusamElbashir commented 1 year ago

Not sure what you mean @hengseyha . Maybe you can elaborate.

hengseyha commented 1 year ago

I mean that I want to show the icon cluster when the map icon is close together by a specific amount. example 100 map icons.

HusamElbashir commented 1 year ago

We use @googlemaps/markerclusterer to create these clusters. I suppose you can create a custom clustering algorithm and use that but I'm afraid this feature isn't supported out of the box.

hengseyha commented 1 year ago

@HusamIbrahim I cannot make it works, can you please help to provide me some clue to do this?