UNPKG

vue-tianditu2

Version:
41 lines (40 loc) 1.63 kB
const e = { /** 弹出框的最小宽度 */ minWidth: { type: Number, default: 50 }, /** 弹出框的最大宽度 */ maxWidth: { type: Number, default: 300 }, /** 设置后,如果内容超过弹出窗口的给定高度则产生一个可以滚动的容器 */ maxHeight: { type: Number, default: null }, /** 是否开启信息窗口打开时地图自动移动(默认关闭) */ autoPan: { type: Boolean, default: !1 }, /** 控制弹出窗口中出现的关闭按钮 */ closeButton: { type: Boolean, default: !0 }, /** 弹出窗口位置的补偿值。在同一图层中打开弹出窗口时对于控制锚点比较有用 */ offset: { type: Array, default: () => [0, 7] }, /** 在地图视图自动平移产生后弹出窗口和地图视图之间的边缘 */ autoPanPadding: { type: Array, default: () => [5, 5] }, /** 是否开启点击地图关闭信息窗口(默认关闭) */ closeOnClick: { type: Boolean, default: !1 } }, a = { /** 信息浮窗的显示 HTML 内容 */ content: { type: [String, Object, HTMLElement], default: "" }, /** 打开信息浮窗的覆盖物或信息浮窗所指向的地理位置坐标 */ target: { type: [Object, Array], default: null } }, n = { close: () => !0, open: () => !0, clickclose: () => !0 }, l = { init: (t) => t instanceof T.InfoWindow, // eslint-disable-next-line @typescript-eslint/no-unused-vars "update:target": (t) => !0 }, o = { ...e, ...a }, u = { ...n, ...l }; export { u as EVENTS, l as EXTRA_EVENTS, a as EXTRA_PROPS, n as NATIVE_EVENTS, e as NATIVE_PROPS, o as PROPS }; //# sourceMappingURL=const.mjs.map