Christos Kreatsoulas

Results 13 comments of Christos Kreatsoulas

Haven't tried reproducing this on my side, but might this be solved by #5103? I was having some similar issues with my custom markers (although they were still showing up)

I was able to fix this specific issue by applying the patch in #5103 ![image](https://github.com/user-attachments/assets/108b14b1-b875-4b41-bef7-fb0368342110)

This issue seems to be a result of marker.setIcon() being repeatedly called in MapMarker.updateMarkerIcon https://github.com/react-native-maps/react-native-maps/blob/d73052b608101e0eb8f09762a33ad65007c022cf/android/src/main/java/com/rnmaps/maps/MapMarker.java#L292 If I do something like this instead and set the flag to false with the...

> > This issue seems to be a result of marker.setIcon() being repeatedly called in MapMarker.updateMarkerIcon > > https://github.com/react-native-maps/react-native-maps/blob/d73052b608101e0eb8f09762a33ad65007c022cf/android/src/main/java/com/rnmaps/maps/MapMarker.java#L292 > > > > If I do something like this instead...

I think Google’s AdvancedMarker could resolve this most easily, as it lets you attach a view to the marker. https://developers.google.com/maps/documentation/android-sdk/advanced-markers/add-marker#use_iconview But it has a number of limitations which probably make...

Google maps issue: https://issuetracker.google.com/issues/369213504

I investigated this a bit a few months ago, my understanding is that this can only be fixed by using Advanced Markers. See https://github.com/react-native-maps/react-native-maps/pull/5281

Maybe also checkout #5103? I had a bug where I was trying to use a custom element and it was getting clipped. That PR solved it