react-native-yamap icon indicating copy to clipboard operation
react-native-yamap copied to clipboard

Incorrect cluster count on new ClusteredYamap on iOS

Open Reeywhaar opened this issue 3 years ago • 5 comments

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 avatar Sep 08 '22 13:09 Reeywhaar

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

Reeywhaar avatar Sep 08 '22 13:09 Reeywhaar

fixed in 4.1.11

ownikss avatar Sep 13 '22 14:09 ownikss

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

Reeywhaar avatar Sep 14 '22 09:09 Reeywhaar

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

Снимок экрана 2023-06-22 в 4 00 34 PM

RuslanAugust avatar Jun 22 '23 12:06 RuslanAugust

<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 решило проблему.

RuslanAugust avatar Jun 22 '23 13:06 RuslanAugust