Content of the InfoWindow that I intend to show is 840px x 660px. By setting MaxWidth property in the constructor
(ex. new google.maps.InfoWindow({ content: some_text, maxWidth: 840});)
It sets the window with width of 707px.
I've manage to overwrite classes for .gm-style-iw
and for #content
(my content is in div with properly set of width and height), but there are some div tags in between #content
div tag and div tag with class .gm-style-iw
with width of maximum 707px and height of max 645px (these values I've found by "Inspecting Element" in Chrome).
If I remove entire style (in Chrome Inspect Element) of the leading div tag (which contains at least 7-8 div sub-tags and among them div tag with class .gm-style-iw
and #content
div tag) and all sub-tags which are without specified class names nor specified id, then the window appears to be fine, BUT I can't manage to set width and height in the class or javascript...
can someone help me with this?