|Again: About the size of infowindows||Pil||12/4/11 6:46 AM|
You will laugh but to determine the size of an infowindow is one of
the most difficult things when developing a real complex site that
uses a database to store user data, fetches user requested xml feeds
and a few more of these advanced features.
The guys at the maps API team wanted to have control over the
So to determine the proper size of infowindows is always like playing
And all this just to finally find out some values for the infowindow
I'm familiar with this maps stuff now for a few years and already made
Sorry to say that, but this looks like pure chicanery - paternalism.
|Re: [Google Maps API v3] Again: About the size of infowindows||Chris Broadfoot (Google Employee)||12/4/11 4:57 PM|
On Mon, Dec 5, 2011 at 1:46 AM, Pil <wol...@gmail.com> wrote:
Info window size is determined based on two factors:
- the size of the content
- the size of the map (not the browser)
The reason for not making this available is for a pretty simple reason: we may change it one day, and if you prepare you map to the characteristics of a particular behaviour, chances are it'll break.
Once we document a particular behaviour, we can't really change it for the above reason. This prevents us making improvements and changes to the API. Thus, we leave it ambiguous and try to make the best decision we can.
In fact, we made a recent change that improved sizing of info windows, where the size is calculated inside the map to account for any CSS the developer may have added.
There's no malicious conspiracy to make things hidden from the developer!
I'm not sure what different monitor resolutions has to do with anything. If you've seen different behaviour according to this, please do file a bug with a *reproducible* test case.
Those are bold claims - I've said it before, but please refrain from making such statements without some solid evidence. Hint: you won't find any - we strive to do the best by our users and developers.
Also, I'll cut in before one of the forum experts: could you please show a reproducible test case of your problems? A test page goes much further to us fixing troublesome behaviour than accusatory statements.
|Re: Again: About the size of infowindows||Hugh H.||12/28/11 2:31 AM|
On Dec 5, 1:57 am, Chris Broadfoot <c...@google.com> wrote:
> ... <snip>
>> > <snip>
We have a map working fine in every browser tested on Mac & PC
(Safari, FF, Chrome, IE8) but IE9 on W7, where the InfoWindow width is
not enough causing the text wrapping and scroll bar appears. You can
see an example here, marker 1 (below 13):
Thanks in advance