USING version 3, maxWidth does not seem to work if it is less than 200
Here is a google group discussion . It includes examples of the style of your own infowindow. I have not read about it yet.
this.infowindow = new google.maps.InfoWindow ({maxWidth: 300, content: "..."});
maxWidth must be greater than 250
, . , . , close, setOptions, .
You can do this by adding a div element inside infoWindow and setting the css width.
Example:.
this.infowindow = new google.maps.InfoWindow( { maxWidth: 300, content: "<div class='div-info'>....</div>" });
Css Definition:
.div-info { max-width: 300px; }
Source: https://habr.com/ru/post/1744437/More articles:How to get from cgo to exe - cLimiting the number of objects in NSArrayController - objective-cpython xml.dom.minidom.Attr question - pythonApache POI Excel Comment - javaDisplay variable with erb - variablesСколько файлов требуется для загрузки программы в Linux? - systemAn example of using extended iPhone table elements - objective-cCan java execute a timer on the command line by overwriting time on the same line? - javaSilverlight? WPF? or windows form? - compareYUI: providing DOM elements and scripts ready - javascriptAll Articles