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