diff --git a/src/app/screens/DataScreen.js b/src/app/screens/DataScreen.js
index 3d93c89..aa43286 100644
--- a/src/app/screens/DataScreen.js
+++ b/src/app/screens/DataScreen.js
@@ -1,17 +1,74 @@
-import React from "react";
-import Screen from "../components/Screen";
-import InDevelopment from "../components/InDevelopment";
+import React, { useContext, useState } from "react";
+import MapView from "react-native-maps";
+import { StyleSheet, View, Text } from "react-native";
+
+import colors from "../config/colors";
+import { screen_width, screen_height } from "../config/dimensions";
+import attachFocusToQuery from "../hooks/useFocus";
+import { CurrentLocationContext } from "../context/CurrentLocationContext";
+import HeaderBarMenu from "../components/HeaderBarMenu";
+import { MapMarkerList } from "../components/MapMarkerList";
function DataScreen(props) {
+ const location = useContext(CurrentLocationContext).currentCoordinates;
+
+ const focusChanged = attachFocusToQuery();
+
+ 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,
+ longitudeDelta: map_scale * (screen_width / screen_height),
+ };
+
+ const [renderRain, setRenderRain] = useState(true);
+ const [renderFlood, setRenderFlood] = useState(true);
+ const [renderRiver, setRenderRiver] = useState(true);
+ const [renderPluviometer, setRenderPluviometer] = useState(true);
+ HeaderBarMenu(props.navigation);
+
return (
-
-
-
+
+
+
+
+
);
}
+const styles = StyleSheet.create({
+ container: {
+ backgroundColor: colors.black,
+ flex: 1,
+ },
+ mapStyle: {
+ position: "absolute",
+ top: 0,
+ left: 0,
+ right: 0,
+ bottom: 0,
+ },
+});
+
export default DataScreen;