We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React Native version : 0.63.4 "@react-native-mapbox-gl/maps": "^8.1.0",
I was rendering 5000 images in mapview, maps loading too much long time to load. It takes to load 15 - 20 minutes.
This is my code: this.state.images.map((item, index) => { return ( <MapboxGL.MarkerView key={${index}-PointAnnotation} id={${index}-PointAnnotation} coordinate={item.coordinates} > <View style={{ width: 45, height: 45, alignItems: 'center', justifyContent: 'center', overflow: 'hidden', }} > <TouchableOpacity onPress={() => this.navigateToDetailScreen(item)}> <Image source={{ uri: item.icon }} resizeMode={'contain'} style={{ height: 30, width: 30 }} /> </MapboxGL.MarkerView> ) }
${index}-PointAnnotation
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Same issue map takes too long to render when we try to show a huge number of markers or images.
Sorry, something went wrong.
same issue here
Any solution?
No branches or pull requests
React Native version : 0.63.4
"@react-native-mapbox-gl/maps": "^8.1.0",
I was rendering 5000 images in mapview, maps loading too much long time to load. It takes to load 15 - 20 minutes.
This is my code:
this.state.images.map((item, index) => {
return (
<MapboxGL.MarkerView
key={
${index}-PointAnnotation
}id={
${index}-PointAnnotation
}coordinate={item.coordinates}
>
<View
style={{
width: 45,
height: 45,
alignItems: 'center',
justifyContent: 'center',
overflow: 'hidden',
}}
>
<TouchableOpacity onPress={() => this.navigateToDetailScreen(item)}>
<Image
source={{ uri: item.icon }}
resizeMode={'contain'}
style={{ height: 30, width: 30 }}
/>
</MapboxGL.MarkerView>
)
}
Thanks in advance.
The text was updated successfully, but these errors were encountered: