@php $usesLocationIq = listing_uses_locationiq(); $addressValue = old('address', isset($listing_translate) ? html_decode($listing_translate->address) : ''); $googleMapValue = old('google_map', isset($listing) ? html_decode($listing->google_map) : ''); $showMapFields = ! isset($listing) || listing_edit_is_default_language($listing_translate->lang_code ?? request()->get('lang_code')); $listingMapPreviewUrl = listing_map_display_url($googleMapValue, 640, 360); $listingMapPlaceholderUrl = listing_map_placeholder_url(); $listingMapPreviewSrc = $listingMapPreviewUrl !== '' ? $listingMapPreviewUrl : $listingMapPlaceholderUrl; @endphp

@if ($usesLocationIq) {{ __('translate.Address & Map') }} @else {{ __('translate.Address & Google Map') }} @endif

@if ($usesLocationIq) {{ __('translate.Address field street number help') }} @endif @if ($usesLocationIq)
    @endif
    @if ($showMapFields) @if ($usesLocationIq)
    {{ __('translate.Map preview') }}
    {{ __('translate.LocationIQ map help') }}
    @else
    @endif @endif