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>