# 参数配置
marker组件支持高德地图marker类所有MarkerOption属性及事件。在此基础上,对以下属性变动在组件内部监听,并会主动触发对应对set方法
属性名 | 类型 | 默认值 |
---|---|---|
position | LngLat | - |
offset | Pixel | - |
anchor | string | 'top-left' |
label | { content: string, offset?: Pixel, direction?: string } | - |
animation | string | 'AMAP_ANIMATION_NONE' |
clickable | boolean | true |
angle | number | - |
zIndex | number | - |
draggable | boolean | false |
title | string | - |
content | string | - |
icon | string | Icon | - |
extData | any | - |
# 示例
← control massMarker →