-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
[Bug]: MarkerView and iOS (Gestures won't work on iOS with 20 MarkerViews) #3734
Comments
Additional Info: It works fine when I have 1 MarkerViews and starts breaking with 8. |
Stumbled upon this, wondering if it has anything to do. maps/src/components/MarkerView.tsx Lines 102 to 107 in fa80ae5
|
Same issue here! |
Images may overlap the map view. Try debugging the images used for markers (e.g., add a backgroundColor to the image wrapper) |
I've tried the above already. For some reason, even if I have a small image (e.g. 50x50px) it renders a seemingly much larger invisible layer, and they all start to overlap each other. Which stops the map interactions from working, so no pinch and zoom, rotation, touches etc. |
Mapbox Implementation
Mapbox
Mapbox Version
11.4.1 and up to 11.9.0
React Native Version
0.76.5
Platform
iOS
@rnmapbox/maps
version10.1.33
Standalone component to reproduce
Observed behavior and steps to reproduce
I am running into this issue where I have a bunch of MarkerViews (roughly 20-30). As soon as I render these, I'm unable to pan or zoom the map anymore. It would work at some points, but mostly won't work on the map
I don't know if it is related to hit boxes or anything else, but if I zoom out to a different location where I don't have markers anymore, then it works.
Is there any way I can debug and publish more report on whats going on?
And it works perfectly fine on Android, but not on iOS
I can try to recreate this for the demo, but I fear it might not be reproducible.
app.config
Expected behavior
Panning and Zooming Gestures should work
Notes / preliminary analysis
Additional links and references
The text was updated successfully, but these errors were encountered: