react-native-mapbox-gl icon indicating copy to clipboard operation
react-native-mapbox-gl copied to clipboard

Map loading too much time.

Open udaysagartammina opened this issue 3 years ago • 3 comments

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 }} /> </TouchableOpacity> </View> </MapboxGL.MarkerView> ) }

Thanks in advance.

udaysagartammina avatar Sep 28 '21 12:09 udaysagartammina

Same issue map takes too long to render when we try to show a huge number of markers or images.

ppv94 avatar Sep 29 '21 04:09 ppv94

same issue here

kobagapu avatar Sep 29 '21 10:09 kobagapu

Any solution?

development0264 avatar Feb 22 '23 06:02 development0264