开发者

Custom InfoWindow on Google Map v3 with Shadow

开发者 https://www.devze.com 2023-01-10 13:08 出处:网络
I have to add a custom styles Info Window to a Google Map. The rounded border has to go and I have to change the close button.

I have to add a custom styles Info Window to a Google Map. The rounded border has to go and I have to change the close button.

I've found InfoBox fro开发者_C百科m Google Maps Utility Library which works fine but it doesn't seem to support shadows. Does anybody know of how to achieve this?


Implement the Maps API v3 OverlayView class and use getPanes().floatShadow to get a container into which you can insert a shadow image, and getPanes().floatPane to get a container into which can insert your main infowindow container and content.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号