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

高德地图 如何click 缩小放大 #1964

Closed
DreamNO1 opened this issue Oct 26, 2023 · 3 comments
Closed

高德地图 如何click 缩小放大 #1964

DreamNO1 opened this issue Oct 26, 2023 · 3 comments
Assignees

Comments

@DreamNO1
Copy link

问题描述

const scene = new Scene({
id: 'map',
map: new GaodeMap({
style: 'normal',
center: [120.19382669582967, 30.258134],
zoom: 3,
}),
});
描述:高德地图 如何click放大缩小

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@lzxue
Copy link
Contributor

lzxue commented Oct 26, 2023

高德地图本身不支持,高德地图只支持 双击放大,click需要自己实现

@DreamNO1
Copy link
Author

click 需要自己实现,方法名叫什么

@lzxue
Copy link
Contributor

lzxue commented Nov 3, 2023

click 需要自己实现,方法名叫什么

监听click 事件,然后调用缩放方法

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

No branches or pull requests

3 participants