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

feat: nvue3 MapContext 增加 setLocMarkerIcon 方法

上级 58f5b3fc
......@@ -88,6 +88,9 @@ export class MapContext implements UniApp.MapContext {
moveAlong(options: any) {
operateMapWrap(this.id, this.pageId, 'moveAlong', options)
}
setLocMarkerIcon(options: any) {
operateMapWrap(this.id, this.pageId, 'setLocMarkerIcon', options)
}
openMapApp(options: any) {
operateMapWrap(this.id, this.pageId, 'openMapApp', options)
}
......
......@@ -50,6 +50,9 @@ const METHODS: Methords = {
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.
先完成此消息的编辑!
想要评论请 注册