图层列表

<sm-web-map server-url="http://support.supermap.com.cn:8092/" map-id="1649097980">
  <sm-layer-list position="top-left"></sm-layer-list>
</sm-web-map>

Attributes

参数 说明 类型 可选值 默认值
position 显示位置,添加为地图的子组件(slot)时生效 string 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' 'top-left'
iconClass 收缩按钮 Icon 类名 string - 'sm-components-icons-layer-style'
headerName 标题名 string - '图层'
autoRotate 收缩按钮是否自动旋转 boolean - false
collapsed 是否默认折叠(iconClass 参数存在时生效) boolean - true
最后更新时间: 2019-9-26 18:51:11