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