Is there a way to remove the "x" close button from an info window?

9,176 views
Skip to first unread message

dan_default

unread,
Dec 2, 2010, 8:17:04 PM12/2/10
to google-map...@googlegroups.com
Is there a way to remove the "x" close button from an info window?

geoco...@gmail.com

unread,
Dec 2, 2010, 8:53:52 PM12/2/10
to Google Maps JavaScript API v3
On Dec 2, 5:17 pm, dan_default <danpixelpus...@gmail.com> wrote:
> Is there a way to remove the "x" close button from an info window?

Make a custom infowindow and don't add it?

-- Larry

dan_default

unread,
Dec 2, 2010, 10:18:46 PM12/2/10
to google-map...@googlegroups.com
So am I understanding you correctly that the answer to my question is: NO there isn't. The only way is to make a custom Info Window?

Or, are you asking me a question?

Luke Mahé

unread,
Dec 2, 2010, 10:30:52 PM12/2/10
to google-map...@googlegroups.com
Hi Dan,

What Larry said is correct, there currently is no way to remove the X from a infowindow.

-- Luke


On Fri, Dec 3, 2010 at 2:18 PM, dan_default <danpixe...@gmail.com> wrote:
So am I understanding you correctly that the answer to my question is: NO there isn't. The only way is to make a custom Info Window?

Or, are you asking me a question?

--
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.

Chad Killingsworth

unread,
Dec 3, 2010, 9:04:44 AM12/3/10
to Google Maps JavaScript API v3
You sure about that? http://search.missouristate.edu/map/mobile/examples/removeclose.htm

This technique won't work in Internet Explorer 7 or below.

Chad Killingsworth

On Dec 2, 9:30 pm, Luke Mahé <lu...@google.com> wrote:
> Hi Dan,
>
> What Larry said is correct, there currently is no way to remove the X from a
> infowindow.
>
> -- Luke
>
> On Fri, Dec 3, 2010 at 2:18 PM, dan_default <danpixelpus...@gmail.com>wrote:
>
>
>
>
>
>
>
> > So am I understanding you correctly that the answer to my question is: NO
> > there isn't. The only way is to make a custom Info Window?
>
> > Or, are you asking me a question?
>
> >  --
> > 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<google-maps-js-api-v3%2B unsub...@googlegroups.com>
> > .

geoco...@gmail.com

unread,
Dec 3, 2010, 9:27:42 AM12/3/10
to Google Maps JavaScript API v3
On Dec 3, 6:04 am, Chad Killingsworth
<chadkillingswo...@missouristate.edu> wrote:
> You sure about that?http://search.missouristate.edu/map/mobile/examples/removeclose.htm
>
> This technique won't work in Internet Explorer 7 or below.

And as it is undocumented, it could break at any time...

-- Larry

Gary Little

unread,
Dec 4, 2010, 11:53:05 AM12/4/10
to Google Maps JavaScript API v3
Chad,

Very clever! I hope Google never changes the URLs of its standard UI
GIF/JPEG/PNG files.

Gary

On Dec 3, 6:04 am, Chad Killingsworth
<chadkillingswo...@missouristate.edu> wrote:
> You sure about that?http://search.missouristate.edu/map/mobile/examples/removeclose.htm
Reply all
Reply to author
Forward
0 new messages