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

feat: nvue MapContext 增加 setLocMarkerIcon 方法

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