Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自定义组件 /component/custom-map组件,地图无法缩放 #68

Open
githubzhuangye opened this issue Nov 5, 2021 · 1 comment

Comments

@githubzhuangye
Copy link

问题描述

自定义组件 /component/custom-map组件,地图无法缩放

系统环境

  • 出现问题的antmove版本:1.2.13
  • 没出现问题的antmove版本(如果有):
  • 操作系统:
  • Node.js版本:v12.16.3
  • 使用antmove命令行工具/vscode插件:antmove/wx-alipay
  • 转换类型(微信转支付宝等等):微信转支付宝

复现步骤或者可用于复现的代码

@suliangben
Copy link

遇到同样的问题,原微信小程序使用腾讯地图,现转成支付宝小程序,似乎换成了高德地图,然后地图不能缩放大小了。

另外,原在 JS 中定义的 Marker 对象的图标路径,如果是 ../ 这样的相对路径,需要手动更换成绝对路径 /pages/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants