How to Disable the Google Maps API Marker Bubble
Using the Google Maps API V3, you can create customized Google maps where each location is marked with a push-pin called a marker. When you click on a marker, Google Maps opens a popup bubble called an info window. The info window contains text and an image related to the marker location. If you don't wish to add text relating to a location, disable the info window from appearing on your map by using the "InfoWindow" constructor and the "close" method.
Instructions
-
-
1
Open your HTML file and locate the section containing your Google Map code.
-
2
Scroll to the code where you define each markers. For each marker, add the following code:
marker.infowindow.close ( );
-
-
3
Save your file and test it. Google Maps disables the info window for each marker where you specified that the info window should close.
-
1