-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMapScreen.js
39 lines (36 loc) · 1.12 KB
/
MapScreen.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import React from "react";
import { View, Text, Button, Image, StyleSheet } from "react-native";
// import ZoomableImage from "./ZoomableImage";
// import React from "react";
// import { View, Text, Button, Image, StyleSheet } from "react-native";
import { PanGestureHandler, State } from "react-native-gesture-handler";
export default function Screen1({ navigation }) {
return (
<View>
<Text>This is Askari 5 Map</Text>
{/* <div style={{ overflow: "auto" }}> */}
<Image
source={require("./assets/img/map.jpeg")}
style={styles.mapImage}
></Image>
{/* </div> */}
{/* <ZoomableImage /> */}
<Button
title="Home"
onPress={() => navigation.navigate("Screen1")}
/>
<Button
title="Listing"
onPress={() => navigation.navigate("Screen2")}
/>
</View>
);
}
const styles = StyleSheet.create({
mapImage: {
width: 600,
height: 600,
display: "inline",
overflow: "auto",
},
});