diff --git a/src/screens/addresses/common/AddressItemHeader.tsx b/src/screens/addresses/common/AddressItemHeader.tsx index 2eda2f3c..fed60212 100644 --- a/src/screens/addresses/common/AddressItemHeader.tsx +++ b/src/screens/addresses/common/AddressItemHeader.tsx @@ -112,6 +112,7 @@ const AddressItemHeader = (props: ITopAddressItemHeader) => { latitude={locationDetails?.latitude} longitude={locationDetails?.longitude} addressString={locationDetails?.addressText} + isGeoCoordinatesReliable={locationDetails?.isGeoCoordinatesReliable} /> diff --git a/src/screens/addresses/common/OpenMapOptionsPopUp.tsx b/src/screens/addresses/common/OpenMapOptionsPopUp.tsx index 377c65d3..37639683 100644 --- a/src/screens/addresses/common/OpenMapOptionsPopUp.tsx +++ b/src/screens/addresses/common/OpenMapOptionsPopUp.tsx @@ -9,9 +9,10 @@ import { GenericStyles, getShadowStyle } from '@rn-ui-lib/styles'; import { getGoogleMapUrl, getGoogleMapUrlForAddressText } from '@components/utlis/commonFunctions'; import { addClickstreamEvent } from '@services/clickstreamEventService'; import { CLICKSTREAM_EVENT_NAMES } from '@common/Constants'; +import Tag, { TagVariant } from '@rn-ui-lib/components/Tag'; const OpenMapOptionsPopUp = (props: IOpenMapOptionsPopUpProps) => { - const { latitude, longitude, addressString } = props; + const { latitude, longitude, addressString, isGeoCoordinatesReliable } = props; const handleSearchByGeolocation = () => { const mapUrl = getGoogleMapUrl(latitude, longitude); @@ -38,6 +39,9 @@ const OpenMapOptionsPopUp = (props: IOpenMapOptionsPopUpProps) => { {`Open location (${latitude?.toFixed( 3 )}, ${longitude?.toFixed(3)})`} + {isGeoCoordinatesReliable && ( + + )}