diff --git a/src/app/screens/MapFeedScreen.js b/src/app/screens/MapFeedScreen.js index ce8e42d..409c94e 100644 --- a/src/app/screens/MapFeedScreen.js +++ b/src/app/screens/MapFeedScreen.js @@ -11,16 +11,19 @@ import attachFocusToQuery from "../hooks/useFocus"; import { CurrentLocationContext } from "../context/CurrentLocationContext"; function MapFeedScreen(props) { - const context = useContext(CurrentLocationContext); const location = context.currentCoordinates; - //const context = useContext(CurrentLocationContext) - const hasToQuery = attachFocusToQuery(); const markers = useMarkers(hasToQuery); - // console.log(markers); + const default_location = { + latitude: -12.901799, + longitude: -51.692116, + latitudeDelta: 70, + longitudeDelta: 70 * (screen_width / screen_height), + }; + const map_scale = 0.003; const lat_long_delta = { latitudeDelta: map_scale, @@ -32,11 +35,7 @@ function MapFeedScreen(props) {