提交 e8cad05c 编写于 作者: d-u-a's avatar d-u-a

feat: nvue MapContext 增加 setLocMarkerIcon 方法

上级 7ef5d2cd
......@@ -32,7 +32,8 @@ const methods = ['getCenterLocation',
'initMarkerCluster',
'addMarkers',
'removeMarkers',
'moveAlong',
'moveAlong',
'setLocMarkerIcon',
'openMapApp']
export class MapContext {
......
......@@ -49,6 +49,9 @@ const METHODS = {
},
moveAlong (ctx, args) {
return invokeVmMethod(ctx, 'moveAlong', args)
},
setLocMarkerIcon (ctx, args) {
return invokeVmMethod(ctx, 'setLocMarkerIcon', args)
},
openMapApp (ctx, args) {
return invokeVmMethod(ctx, 'openMapApp', args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册