Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Android, this library is not optimized #260

Open
Yassdrk opened this issue Jul 15, 2023 · 4 comments
Open

On Android, this library is not optimized #260

Yassdrk opened this issue Jul 15, 2023 · 4 comments

Comments

@Yassdrk
Copy link

Yassdrk commented Jul 15, 2023

Hello,

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

Someone has a tip ?

@0xcD3v
Copy link

0xcD3v commented Jul 28, 2023

same issue here, any updates?

@Yassdrk
Copy link
Author

Yassdrk commented Jul 29, 2023

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...

@0xcD3v
Copy link

0xcD3v commented Jul 30, 2023

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.

@zorzpapaduby
Copy link

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants