Android: Cannot swap images for ImageSource. Error while updating 'coordinates' of a view managed by: RCTMGLImageSource #1428
Unanswered
James-Firth
asked this question in
Q&A
Replies: 1 comment
-
So I'm not entirely sure why this was happening but I made my I'm still unclear exactly why this was happening and would appreciate insights still. Also a better error would be great |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component that wraps my Mapbox component. It calculates some coordinates and grab a signed Azure URL to use as an overlay on the map via the RasterLayer and ImageSource.
However when I click the button to switch the image coordinates and source I keep getting this error. Any ideas why/how I can fix this? (Android only)
I've printed out
coords
andmapImage
and they're never null, so I'm not sure why this is causing issues?EDIT: For reference, mapImage is a signed URL so it's retrieved from a remote URL. Coords is calculated locally.
If
coords
is hardcoded it works (but the image is squished). I believe something is partially updated?Any guidance appreciated!
Source snippet:
Beta Was this translation helpful? Give feedback.
All reactions