Updated the API URL and implemented map data display
This commit is contained in:
@@ -119,12 +119,12 @@ const MapScreen: React.FC = () => {
|
||||
setLoading(true);
|
||||
|
||||
const response = await fetch(
|
||||
'http://128.199.25.149:5000/property-search',
|
||||
'http://64.227.108.180:5000/property-search',
|
||||
{
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
location: 'Lucknow, Uttar Pradesh, India',
|
||||
location: 'Teliarganj',
|
||||
radius: 500,
|
||||
}),
|
||||
}
|
||||
@@ -214,7 +214,7 @@ const MapScreen: React.FC = () => {
|
||||
/>
|
||||
<View style={styles.cardContent}>
|
||||
<Text style={styles.cardPrice}>
|
||||
₹{item.price_display}
|
||||
{item.price_display}
|
||||
</Text>
|
||||
<Text style={styles.cardDetails}>
|
||||
{item.bedrooms} Beds • {item.bathrooms} Baths
|
||||
|
||||
Reference in New Issue
Block a user