vue-tianditu2
Version:
19 lines (18 loc) • 480 B
JavaScript
import { toPoint as t } from "../../../utils/converter.mjs";
function r(n, o) {
const { minWidth: i, maxWidth: a, maxHeight: e, autoPan: d, closeButton: f, offset: u, autoPanPadding: c, closeOnClick: s, content: P } = n;
return new T.InfoWindow(o || P, {
minWidth: i,
maxWidth: a,
maxHeight: e,
autoPan: d,
closeButton: f,
offset: t(u),
autoPanPadding: t(c),
closeOnClick: s
});
}
export {
r as useInit
};
//# sourceMappingURL=init.mjs.map