简体   繁体   中英

How can i add tabs in google map info?

I want to add HTML tabs withdrawing current design of info window of google map. Something like this

在此处输入图片说明

I am going through OpenLayers API, but i am not sure how to achieve this. Any suggestion?

I'm not sure what the programmer used to create that red Info Window in your screenshot.

However, InfoBubble is capable of creating tabs, and you can also customize its styles. Try the demos:

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html/

You could also use Infobox and create the HTML to make it look like your example using Twitter Bootstrap + HTML.

I did this in my site and it worked great

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM