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