Описание тега infowindow
The InfoWindow is a standard class within the Google Maps JavaScript API; it is an overlay that displays content in a floating window above the map. An info window looks like a comic-book word balloon; it has a content area, a tapered stem, and the tip of the stem is anchored at a specified location on the map.
Questions that are assigned to this tag should deal directly with InfoWindow creation, placing content within an InfoWindow, styling the content within an InfoWindow, displaying or hiding InfoWindows, or managing InfoWindows on a Google Map.
Google has published some very good material for those that want to learn more about InfoWindows:
An introductory tutorial that explains the basics of using an InfoWindow is provided in the InfoWindows section of the Google Maps Developer's Guide.
Full documentation of the
google.maps.InfoWindow
class is provided in the InfoWindow section of the Google Maps API Reference.The Google Maps online code examples include an InfoWindow simple code example and an InfoWindow simple max code example, which demonstrates how to adjust the appearance of content displayed in an InfoWindow.
The Google Maps Demo Gallery also includes a SmartInfoWindow demo, which demonstrates a way to control the direction in which an InfoWindow is displayed, so that autopanning is unnecessary because the InfoWindow is shown within the current viewport of the map.