1.0.4 • Published 2 months ago
xverse-components-map v1.0.4
API
参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 |
---|---|---|---|---|---|
areas | IArea[] | 地图子组件 | - | true | - |
areaStyle | CSSProperties | 地图子组件的父容器 | - | false | - |
containerStyle | CSSProperties | 地图子组件的父容器的父容器 | - | false | 该容器可以配置地图背景图样式,当出现地图背景和子组件范围不一致时可用 |
showCurrentPosition | boolean | 是否展示当前位置标签 | true | false | - |
closeIconProps | IButtonProps | 关闭按钮 | - | false | - |
buttonProps | IButtonProps | 前往按钮 | - | false | 不配置,则点击地图子组件直接跳转 |
style | CSSProperties | - | false | - | |
className | string | 自定义类名 | - | false | - |
onGoBack | (data: IArea) => void | 跳转事件 回调 | - | false | 返回节点数据 data:{{top: number,left: number,title: string, roomId: string, disabled: boolean}} |
onClose | () => any | 关闭事件 | - | true | - |
1.0.4
2 months ago
1.0.3
4 months ago
1.0.2
4 months ago
1.0.1
5 months ago
1.0.0
5 months ago
0.1.0
6 months ago
0.1.2
5 months ago
0.1.1
6 months ago
0.1.3
5 months ago
0.0.13
8 months ago
0.0.12
8 months ago
0.0.11
8 months ago
0.0.10
8 months ago
0.0.9
8 months ago
0.0.8
8 months ago
0.0.7
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago
0.0.1
9 months ago