HEX
Server: Apache
System: Linux pdx1-shared-a2-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_hwg2wc (6369923)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dh_hwg2wc/fnaluxury.com/wp-content/themes/houzez/js/single-property-osm-map.min.js
jQuery(function(e){"use strict";var o,a,t,r,p,i,n,s,m,l;"undefined"!=typeof houzez_single_property_map&&(o=houzez_vars.is_mapbox,s=houzez_vars.api_mapbox,e("#houzez-single-listing-map").length<=0||(a=!(i=15),r="",t="no","undefined"!=typeof houzez_map_options&&(t=houzez_map_options.markerPricePins,r=houzez_map_options.googlemap_stype,"circle"==houzez_map_options.map_pin_type&&(a=!0),0<houzez_map_options.single_map_zoom&&(i=parseInt(houzez_map_options.single_map_zoom)),""!=r&&(r=JSON.parse(r))),houzez_single_property_map.lat&&houzez_single_property_map.lng&&(r=houzez_single_property_map,s="mapbox"==o&&""!=s?L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token="+s,{attribution:'© <a href="https://www.mapbox.com/about/maps/">Mapbox</a> © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a></strong>',tileSize:512,maxZoom:18,zoomOffset:-1,id:"mapbox/streets-v11",accessToken:"YOUR_MAPBOX_ACCESS_TOKEN"}):L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}),p=L.latLng(r.lat,r.lng),i={dragging:!L.Browser.mobile,center:p,zoom:i,zoomControl:!0,tap:!1},(n=L.map("houzez-single-listing-map",i)).scrollWheelZoom.disable(),n.addLayer(s),s={riseOnHover:!0},r.title&&(s.title=r.title),a&&(l=n,L.circle(p,200).addTo(l)),a||("yes"==t?(m='<div data-id="'+r.property_id+'" class="gm-marker gm-marker-color-'+r.term_id+'"><div class="gm-marker-price">'+r.pricePin+"</div></div>",m=L.divIcon({className:"someclass",iconSize:new L.Point(0,0),html:m}),L.marker(p,{icon:m}).addTo(n)):(r.marker&&(m={iconUrl:r.marker,iconSize:[44,56],iconAnchor:[20,57],popupAnchor:[1,-57]},r.retinaMarker&&(m.iconRetinaUrl=r.retinaMarker),s.icon=L.icon(m)),L.marker(p,s).addTo(n))),e('a[href="#pills-map"], a[href="#property-address"]').on("shown.bs.tab",function(){n.invalidateSize(),n.panTo(n.getCenter())}))))});