Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GInfoWindowTab equivalent in Google Maps API v3

In Google Maps API v2: GInfoWindowTab(title,content) - to split information in the popup-windows into parts.

For example:

tab1 = new GInfoWindowTab('Tab 1', 'Content of tab 1');
tab2 = new GInfoWindowTab('Tab 2', 'Content of tab 2');

and so on.

In Google Maps API v3 this function doesn't work.

And there isn't such function in the latest corresponding official reference: http://code.google.com/intl/ru/apis/maps/documentation/javascript/reference.html#InfoWindow

Does anybody know, how to replace that function or imitate it?

like image 369
Alex Avatar asked Mar 04 '26 14:03

Alex


1 Answers

The InfoBubble utility library (a library that sits on top of Maps API V3) provides this functionality.

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

like image 168
plexer Avatar answered Mar 09 '26 01:03

plexer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!