[英]amMap remove home button control
I am trying to remove all the controls from amMap. 我正在尝试从amMap中删除所有控件。 I have successfully removed the zoom controls.
我已经成功删除了缩放控件。 Is it possible to remove the home button also, I cant find it anywhere?
是否可以删除主页按钮,但我在任何地方都找不到它?
"zoomControl": {
"zoomControlEnabled": false,
"panControlEnabled": false,
},
Solved. 解决了。 I missed it in the documentation.
我在文档中错过了它。
"zoomControl": {
"homeButtonEnabled": false,
"zoomControlEnabled": false,
"panControlEnabled": false,
},
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.