You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering two issues while using @rnmapbox/maps:
1. Images Component Not Updating:
When the mapImages array changes, the Images component doesn’t update to reflect the new images. It appears to not trigger a re-render even when the data changes.
2. Mapbox.Image Failing to Load Local Images:
When using RNImage under Mapbox.Image, local image files stored in paths like:
1. Update the mapImages array with different image data.
2. Observe that the Images component does not re-render with the new data.
3. Load local images using Mapbox.Image with file URIs from the app’s documents directory.
Additional links and references
No response
The text was updated successfully, but these errors were encountered:
Mapbox Implementation
Mapbox
Mapbox Version
11.6.0
React Native Version
0.74.5
Platform
iOS
@rnmapbox/maps
version10.1.31
Standalone component to reproduce
Observed behavior and steps to reproduce
I am encountering two issues while using @rnmapbox/maps:
When the mapImages array changes, the Images component doesn’t update to reflect the new images. It appears to not trigger a re-render even when the data changes.
When using RNImage under Mapbox.Image, local image files stored in paths like:
are not loading correctly.
Expected behavior
No response
Notes / preliminary analysis
Additional links and references
No response
The text was updated successfully, but these errors were encountered: