2

I'm trying to create a map with multiple markers using google maps api v3 javascript. I've read many tutorials and I really confused about infowindows/infobubbles. Is it the same thing or are they different, and how? It seems to me that they are two different things cause there's a different object created in each case.

var infowindow = new google.maps.InfoWindow();
var infobubble = new google.maps.InfoBubble();

Anybody knows more information about this?

zekia
  • 4,527
  • 6
  • 38
  • 47

3 Answers3

10
geocodezip
  • 158,664
  • 13
  • 220
  • 245
2

Infobubble is a third party library that extends Google Maps functionality. (And that's why it's found in google maps utility library)

It offers additional styling properties (sometimes styling infowindows is a bitch to deal with) but, in turn, it's not supported by google and it might happen that a future google maps release might break it.

ffflabs
  • 17,166
  • 5
  • 51
  • 77
2

I think difference between us are just because infowindows is a basic tooltip with Google map skin (https://developers.google.com/maps/documentation/javascript/examples/infowindow-simple?hl=FR) and infoBubble are more editable, with tabs, and personal skin (http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html/)

Arthur
  • 4,870
  • 3
  • 32
  • 57