diff --git a/components/HouseLocation.js b/components/HouseLocation.js
index b26442c..7fa3e41 100644
--- a/components/HouseLocation.js
+++ b/components/HouseLocation.js
@@ -16,84 +16,76 @@ export default function HouseLocation() {
});
return (
-
- {
- // 'details' is provided when fetchDetails = true
- console.log(data, details);
- setRegion({
- latitude: details.geometry.location.lat,
- longitude: details.geometry.location.lng,
- latitudeDelta: 0.0922,
- longitudeDelta: 0.0421,
- });
- }}
- query={{
- key: 'AIzaSyCkyKVuTyTW8qIcmXuo-btO4lI0VzojzBE',
- language: 'en',
- components: 'country:in',
- types: 'establishment',
- radius: 30000,
- location: `${region.latitude}, ${region.longitude}`,
- }}
- placeholderTextColor={'#845783'}
- styles={{
- container: {
- flex: 0,
- position: 'absolute',
- width: '100%',
- zIndex: 1,
- backgroundColor: '#000000',
- },
- listView: {backgroundColor: 'white', color: 'blue'},
- }}
- />
-
-
+
+ Locate your House
+
+ {
+ // 'details' is provided when fetchDetails = true
+ console.log(data, details);
+ setRegion({
+ latitude: details.geometry.location.lat,
+ longitude: details.geometry.location.lng,
+ latitudeDelta: 0.0922,
+ longitudeDelta: 0.0421,
+ });
+ }}
+ query={{
+ key: 'AIzaSyCkyKVuTyTW8qIcmXuo-btO4lI0VzojzBE',
+ language: 'en',
+ components: 'country:in',
+ types: 'establishment',
+ radius: 30000,
+ location: `${region.latitude}, ${region.longitude}`,
+ }}
+ placeholderTextColor={'#845783'}
+ styles={{
+ container: {
+ width: '100%',
+ position: 'absolute',
+ zIndex: 1,
+ },
+ listView: {backgroundColor: 'white', color: 'blue'},
+ }}
+ />
+
+
+
+
- {
- console.log('Drag start', e.nativeEvent.coordinates);
- }}
- onDragEnd={e => {
- setPin({
- latitude: e.nativeEvent.coordinate.latitude,
- longitude: e.nativeEvent.coordinate.longitude,
- });
- }}>
-
- I'm here
-
-
-
+ provider="google">
+
+
+
);
}
const styles = StyleSheet.create({
+ viewRoot: {
+ backgroundColor: '#ffffff',
+ height: '100%',
+ },
container: {
flex: 1,
- backgroundColor: '#fff',
+ backgroundColor: '#ffffff',
alignItems: 'center',
justifyContent: 'center',
},
@@ -101,4 +93,10 @@ const styles = StyleSheet.create({
width: Dimensions.get('window').width,
height: Dimensions.get('window').height,
},
+ heading: {
+ color: '#1C254E',
+ fontSize: 30,
+ textAlign: 'left',
+ fontFamily: 'Ubuntu-Bold',
+ },
});
diff --git a/components/UserProfile.js b/components/UserProfile.js
index 4da633b..ec39bd4 100644
--- a/components/UserProfile.js
+++ b/components/UserProfile.js
@@ -108,15 +108,6 @@ underlayColor="white"
-
John Doe
Tenant