[Google Maps API v3] Question about maxwidth for infowindow

1,267 views
Skip to first unread message

hao

unread,
May 19, 2010, 12:17:41 AM5/19/10
to Google Maps JavaScript API v3
it seems no matter what i use for maxWidth for the infowindow it's
always at least 200px wide.

This is a problem for mobile phone that have small screens. Is there a
way to get around this?

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Rossko

unread,
May 19, 2010, 4:03:33 AM5/19/10
to Google Maps JavaScript API v3
> it seems no matter what i use for maxWidth for the infowindow it's
> always at least 200px wide.

Yes. See
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/0e77b0f16e53ae38#

> This is a problem for mobile phone that have small screens. Is there a
> way to get around this?

Yes. Write your own infowindow style code, perhaps using simpler
graphics.

hao

unread,
May 19, 2010, 4:04:50 PM5/19/10
to Google Maps JavaScript API v3
hey are there any tutorials on how i can write my own infowindow
style...

On May 19, 4:03 am, Rossko <ros...@culzean.clara.co.uk> wrote:
> > it seems no matter what i use for maxWidth for the infowindow it's
> > always at least 200px wide.
>
> Yes.  Seehttp://groups.google.com/group/google-maps-js-api-v3/browse_thread/th...

Rossko

unread,
May 19, 2010, 4:16:57 PM5/19/10
to Google Maps JavaScript API v3
> hey are there any tutorials on how i can write my own infowindow
> style...

http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infowindow-custom.html
Reply all
Reply to author
Forward
0 new messages