lpongetti/flutter_map_marker_cluster

Sometimes, you will not zoom in when pressing on a cluster and forceIntegerZoomLevel = true;

Marc-Antoine-Soucy opened this issue · 3 comments

This seems to happen when the destination zoom level isnt big enough to reach the next number.
image

I'm not exactly sure how you want to go about it, I think you could just add a check to make sure the destination doesnt have the same zoom level as the current camera (if the camera zoom != the max zoom), and it if's the same, you zoom in one level?
https://github.com/lpongetti/flutter_map_marker_cluster/blob/9c4fb8c8d8321505534c556ecc3d8da44303b618/lib/src/marker_cluster_layer.dart#L645C1-L679C8 I can do it if you want.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.

Hi ! Is it possible de re open this issue ? I have the same problem sometimes