volga-volga / react-native-yamap

React Native Yandex Maps | Яндекс Карты | Yandex.MapKit implementation for react native | YandexMaps
148 stars 81 forks source link

Incorrect cluster count on new ClusteredYamap on iOS #179

Open Reeywhaar opened 1 year ago

Reeywhaar commented 1 year ago

When zooming close enough cluster count starts to act strange. Seems it prints total count of all points on a map. Seems to happen only in iOS.

https://user-images.githubusercontent.com/884649/189129771-c80a6a7d-16c7-4f90-9acd-90c969e74401.mov

Reeywhaar commented 1 year ago

It happens when initial zoom is behind the mark when you stop clustering.

ownikss commented 1 year ago

fixed in 4.1.11

Reeywhaar commented 1 year ago

Apparently seems it's not fixed. Same picture in 4.1.11. Even more, I also noticed clusters with wrong count (count here is count of all points on map).

image
RuslanAugust commented 1 year ago

Тоже неправильно отображаются счетчики кластеров

Снимок экрана 2023-06-22 в 4 00 34 PM
RuslanAugust commented 1 year ago

<ClusteredYamap ... renderMarker={(info, index) => ( <Marker key={index} point={info.point} source={{uri: 'https://img.icons8.com/?size=512&id=13800&format=png'}} scale={0.3} /> )} />

source решило проблему.