react-native-yamap
react-native-yamap copied to clipboard
Incorrect cluster count on new ClusteredYamap on iOS
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
It happens when initial zoom is behind the mark when you stop clustering.
fixed in 4.1.11
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).
Тоже неправильно отображаются счетчики кластеров
<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 решило проблему.