Liferay.Loader.define("expando-web@5.0.29/js/GeoLocationField",["module","exports","require","@liferay/map-common/js/MapBase"],(function(e,a,n){var o;window;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({inputName:e,mapName:a}){t.default.get(a,(a=>{a.on("positionChange",(a=>{const n=document.querySelector('[name="'+e+'"]'),o=a.newVal.location;n&&n.setAttribute("value",JSON.stringify({latitude:o.lat,longitude:o.lng}));const t=document.getElementById(e+"Location");t&&(t.innerHTML=a.newVal.address)}))}))};var t=(o=n("@liferay/map-common/js/MapBase"))&&o.__esModule?o:{default:o}}));
//# sourceMappingURL=GeoLocationField.js.map