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 using react-native mapbox previously map box is working as expected but after update mapbox throw warning and map is working slow warning is iconImage image is depricated please use Image instead of iconImage after this warning i update my code and use Image for show cluster with SymbolLayer
Expected behavior
After update according the doc my map behaviour should be same as previous
Notes / preliminary analysis
No response
Additional links and references
Screen.Recording.2025-01-24.at.4.01.59.PM.mov
The text was updated successfully, but these errors were encountered:
Mapbox Implementation
Mapbox
Mapbox Version
"@rnmapbox/maps": "10.1.33",
React Native Version
"react-native": "0.76.6",
Platform
iOS, Android
@rnmapbox/maps
version10.1.33
Standalone component to reproduce
<MapboxGL.MapView style={{ flex: 1 }} ref={map} onRegionDidChange={(e) => { handleRegionChange(e); }} attributionEnabled={false} scaleBarEnabled={false} rotateEnabled={false} logoEnabled={false} pitchEnabled={false}> <MapboxGL.UserLocation // renderMode="native" visible={true} /> <MapboxGL.Camera ref={camera} minZoomLevel={4} maxZoomLevel={13} animationDuration={2000} animationMode="moveTo" zoomLevel={ zoomLevel ? zoomLevel : searchType === 'club' ? 12 : searchType === 'location' ? 6 : state?.firstTimeInMap ? 12 : 12 } centerCoordinate={centerCoordinates} /> <MapCluster clubs={newClub} onItemPress={onMarkerPressed} selectedClub={selectedClub} /> </MapboxGL.MapView>
Observed behavior and steps to reproduce
I am using react-native mapbox previously map box is working as expected but after update mapbox throw warning and map is working slow warning is iconImage image is depricated please use Image instead of iconImage after this warning i update my code and use Image for show cluster with SymbolLayer
Expected behavior
After update according the doc my map behaviour should be same as previous
Notes / preliminary analysis
No response
Additional links and references
Screen.Recording.2025-01-24.at.4.01.59.PM.mov
The text was updated successfully, but these errors were encountered: