rungwiroon / BlazorGoogleMaps

Blazor interop for GoogleMap library
MIT License
309 stars 99 forks source link

MarkerClustering - Set Click on Zoom level; #322

Closed ham187 closed 3 months ago

ham187 commented 4 months ago

Is there any way to set the zoom level of click on markerclustering?

_markerClustering = await MarkerClustering.CreateAsync(_map1.JsRuntime, _map1.InteropObject, markers, new() { RendererObjectName = "customRendererLib.interpolatedRenderer", ZoomOnClick = true, });

Zoom level = 12?

valentasm1 commented 4 months ago

I am not very familiar with markerclustering We user this library. If it is possible there it should be possible here. If smth is missing please provide js sample https://googlemaps.github.io/js-markerclusterer/modules.html

ham187 commented 3 months ago

I worked something out you can close :)