gpt4 book ai didi

javascript - 如何更改 infobubble 上的 anchor

转载 作者:行者123 更新时间:2023-12-03 09:21:46 24 4
gpt4 key购买 nike

有没有办法改变信息气泡的 anchor ?我希望信息气泡的点位于 26px x 26px 图标的顶部中心。

我正在使用 Maps API for JavaScript 3.0.12.0

最佳答案

您可以使用CSS:

  /*move the bubble 26px upwards*/
.H_ib{margin-top:-26px;}
/*remove the ellipsis at the end of the tail when you want to*/
.H_ib_tail svg path:first-child{display:none;}

关于javascript - 如何更改 infobubble 上的 anchor ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31820722/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com