如何隐藏“查找我的位置”按钮?

How can I hide the Find My Location buttons?

在 ArcGis 3.x 中,有没有办法隐藏搜索框中的 Find my location 按钮?无论我怎么尝试,我都无法在浏览器的开发工具中找到靶心控件。谢谢

更新:这两个字段正在使用 Directions 小部件。

最简单的方法是覆盖样式以隐藏按钮,像这样应该可以,

.LocateButton {
  display: none !important;
}