react-native-map-clustering icon indicating copy to clipboard operation
react-native-map-clustering copied to clipboard

On Android, this library is not optimized

Open Yassdrk opened this issue 1 year ago • 4 comments

Hello,

On iOS it is working perfectly. On Android, the map is so laggy, just to recalculate the cluster....

Someone has a tip ?

Yassdrk avatar Jul 15 '23 07:07 Yassdrk

same issue here, any updates?

0xcD3v avatar Jul 28 '23 12:07 0xcD3v

same issue here, any updates?

Hi,

Still the same issue...Did you find another library ? I found supercluster but it looks more complicated to implement...

Yassdrk avatar Jul 29 '23 06:07 Yassdrk

I think my problem is not from this lib, but from react-native-maps or just bad coding from my side. I have an array for Markers after some research i found this prop "tracksViewChanges - Sets whether this marker should track view changes. It's recommended to turn it off whenever it's possible to improve custom marker performance." the default value is true so i changed to false i saw a huge difference but using it brokes my UI i have children components arround the Marker, an image component and some Views. Unfortunately some markers render perfectly and other don't.

0xcD3v avatar Jul 30 '23 11:07 0xcD3v

@0xcD3v Did you manage to solve not rendering images on android? It works perfectly for me on ios, but I also have difficulties with android...

zorzpapaduby avatar Jul 23 '24 18:07 zorzpapaduby