In \themes\wpresidence\libs\property_page_functions\property_address_section_functions.php
Modify the current code
Add add the following code
$post_id = get_the_ID(); // Or use global $post if needed
$latitude = get_post_meta( $post_id, 'property_latitude', true );
$longitude = get_post_meta( $post_id, 'property_longitude', true );
if ( empty( $latitude ) || empty( $longitude ) ) {
return ''; // Coordinates missing, return empty
}
$url = urlencode( "$latitude,$longitude" );
$google_map_url = "http://maps.google.com/?q=$url";
It should look like this



