如何更改infobubble上的锚点

时间:2015-08-04 22:54:19

标签: javascript here-api

无论如何都要改变infobubble的锚点?我希望信息块能够位于26px x 26px图标的顶部中心。

我正在使用Maps API for JavaScript 3.0.12.0

1 个答案:

答案 0 :(得分:1)

您可以使用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;}