最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - custom infowindow box with google maps api v3? - Stack Overflow

programmeradmin5浏览0评论

I am trying to have a custom infowindow box in the google maps api. If that is not possible, I want to at least remove the rounded corners for the popup. Is this possible?

I tried useing

InfoWindow({
    content: "<h3>" + title + "</h3>",
    boxStyle: { styles }
})

but boxStyle does nothing.

I am trying to have a custom infowindow box in the google maps api. If that is not possible, I want to at least remove the rounded corners for the popup. Is this possible?

I tried useing

InfoWindow({
    content: "<h3>" + title + "</h3>",
    boxStyle: { styles }
})

but boxStyle does nothing.

Share Improve this question asked Mar 26, 2011 at 18:27 PhilPhil 11.2k17 gold badges72 silver badges105 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 11

You can use an InfoBox class from Google Maps Utility Library. Or you can write a custom class overriding the default styling

发布评论

评论列表(0)

  1. 暂无评论