|
|
@ -30,6 +30,7 @@ function MapFeedScreen(props) { |
|
|
|
<View style={styles.container}> |
|
|
|
<MapView |
|
|
|
style={styles.mapStyle} |
|
|
|
showsUserLocation={true} |
|
|
|
initialRegion={{ |
|
|
|
latitude: -22.1070263, |
|
|
|
longitude: -51.3948396, |
|
|
@ -44,12 +45,6 @@ function MapFeedScreen(props) { |
|
|
|
{[...markers.markers].map(({ ID, ...val }) => { |
|
|
|
return <MapMarker key={ID.toString()} {...val} />; |
|
|
|
})} |
|
|
|
<MapView.Marker |
|
|
|
coordinate={{ |
|
|
|
latitude: location["latitude"], |
|
|
|
longitude: location["longitude"], |
|
|
|
}} |
|
|
|
/> |
|
|
|
</MapView> |
|
|
|
</View> |
|
|
|
); |
|
|
|