The problem of viewing maps on Android with Markers

ON IOS everything is allright but on Android when i open this view it just close the application

render() {

  return (
      <View style={styles.container}>
      <MapView style={styles.map}

              showsScale
              showsPointsOfInterest                
              region={{
                latitude: parseFloat(this.state.latitude),
                longitude: parseFloat(this.state.longitude),
                latitudeDelta: parseFloat(this.state.latitudeDelta),
                longitudeDelta:parseFloat(this.state.longitudeDelta),
              }}   
          >

         {this.state.data.map(marker => {
           return(
             <MapView.Marker coordinate={{
                 latitude: parseFloat(marker.lat),
                 longitude: parseFloat(marker.lng),
                 }}
                 >
               <MapView.Callout>
                 <View>
                   {/*<Image source={{uri: 'https://data.parkingwatcher.com/parkings/'+marker.id+'.jpg'}} style={{height: 200, width: 200}} />*/}
                   <Image source={{uri: this.state.settings.ImageFolder + marker.id+'.jpg'}} style={{height: 200, width: 200}} />
                   <Text style={styles.name}>{marker.name}</Text>
                   <Text style={styles.address}>{marker.address} {this.state.language}</Text>
                   
                   {/*<Text>{this.state.radius} </Text>*/}
                   {/*<Text>{this.state.settings.ImageFolder} </Text>*/}
                       <Button
                         onPress={this.onPressAddFavourites}
                         title="Add to Favourites"
                         color="#841584 "
                         accessibilityLabel="Add to Favourites"
                       />
                 </View>
               </MapView.Callout>
           </MapView.Marker>
           )
         }
         )}
          
           



      </MapView>  

  </View>
1 Like

Hi, we just include react-native-maps to power this API. Maybe there is an upstream issue rendering that particular set of components?

It is terrible situation because I have good app on IOS and empty app on Android because smth does not work.

2 Likes