Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps Api: infowindow vs infobubble?

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?

like image 204
zekia Avatar asked Jan 19 '26 14:01

zekia


1 Answers

  • A google.maps.InfoWindow is a built in object in the Google Maps Javascript API v3
  • A InfoBubble is a "third party" replacement for an InfoWindow, it has similar functionality but more flexibility in some ways.
like image 112
geocodezip Avatar answered Jan 21 '26 03:01

geocodezip



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!