UNPKG

vue-tianditu2

Version:
38 lines (37 loc) 1.3 kB
const t = { /** 设置格网图层的网格大小,单位是像素。default:256 */ tileSize: { type: Number, default: 256 }, /** 显示格网图层的最小层级。default:0 */ minZoom: { type: Number, default: 0 }, /** 显示格网图层的最大层级。default:18 */ maxZoom: { type: Number, default: 18 }, /** 设置格网图层的透明度。default:1 */ opacity: { type: Number, default: 1 }, /** 设置格网图层边线的颜色、宽度、线样式。default:{width:1, style:'solid', color:'#999'} */ outlineSize: { type: Object, default: () => ({ width: 1, style: "solid", color: "#999" }) }, /** 设置格网图层文字的样式,图层文字表现网格的行号、列号、层级。default:{display:false, fontSize:'14', fontWeight:true, color:'black'} */ textSize: { type: Object, default: () => ({ display: !1, fontSize: "14", fontWeight: !0, color: "black" }) } }, o = { /** 图层的叠放顺序 */ zIndex: { type: Number } }, i = { loading: () => !0, load: () => !0 }, l = { init: (e) => e instanceof T.GridlineLayer }, n = { ...t, ...o }, a = { ...i, ...l }; export { a as EVENTS, l as EXTRA_EVENTS, o as EXTRA_PROPS, i as NATIVE_EVENTS, t as NATIVE_PROPS, n as PROPS }; //# sourceMappingURL=const.mjs.map