Clicking on Second Tab Title in Info-Window Shuts The Window!?

34 views
Skip to first unread message

MerchantPrince

unread,
Sep 8, 2006, 12:09:56 PM9/8/06
to Google Maps EZ
I have tabbed info-windows on my map- i.e. you click on a marker an
infowindow pops up and its tabbed so that you see one photo and then
when you click on the second tab you see the second photo. It worked a
few hours ago, but now when you click on the second tab the info-window
closes!? Some people on the Google Maps site said to check to see if
anything changed with the extension:

http://bluweb.com/chouser/gmapez/gmapez-2.js

Anyone got any idea how to fix this?

Thanks

Patrick

Here is the site: http://www.patricklanders.com/neighborhood/

Here is the code:

Here is the code:

<script
src="http://bluweb.com/chouser/gmapez/gmapez-2.js"
type="text/javascript"></script>

</head>
<body>

<div class="GMapEZ GSmallZoomControl"
style="width: 650px; height: 650px;">
<a
href="http://maps.google.com/?ie=UTF8&om=1&z=18&ll=38.91856,-77.041326&spn=...">
EXTENT

</a>
<a
href="http://maps.google.com/?ie=UTF8&om=1&z=19&ll=38.917193,-77.041897&spn...">YELLOW
MINI
</a>
<div title="address"><img
src="http://www.ibiblio.org/wm/paint/auth/gogh/gogh.the-night-cafe.jpg"
width="260" height="260"><br />
<br />
Cafe L'Enfant<br />
2000 18th St NW <br />
Washington, DC 20009 <br />
(202) 319-1800 <br />
</div>
<div title="review">
the hours: <br />
monday to friday: 6pm-close <br />
saturday 10am-close <br />
sunday 10am-close <br />
<br />
the word: <br />
started in 2004, this low-key Belgian bistro, <br />
has some tasty Belgian, French and German <br />
beers (e.g. Ayinger, Chimay and Kronenbourg). <br />
although its menu will not fill those with raging <br />
appetites, the sweet crepes are a nice end to <br />
an after-dinner stroll. <br />
<br />
the numbers: <br />
food: 5/10 <br />
service: 9/10 <br />
atmosphere: 8/10 <br />
value: 6/10 <br />
<br />
<a href="http://www.lenfantcafe.com/menu.php">click here for menu</a>
<br />
</div>

<a
href="http://maps.google.com/?ie=UTF8&z=19&ll=38.917028,-77.040993&spn=0.00...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/88/236572351_b3e325ac2f_o.jpg"
width="300" height="200"><br />
<br />
Florida Avenue and U Street (2006)<br />
<br />
</div>
<div title="1951"><img
src="http://static.flickr.com/88/236572351_b3e325ac2f_o.jpg"
width="300" height="200"><br />
<br />
This is the same intersection of Florida and U Street <br />
photographed in 1951. The houses between 1751 and <br />
1765 U Street were built in 1902 by architect <br />
Nicholas T. Haller. <br />
</div>

<a
href="http://maps.google.com/?ie=UTF8&z=19&ll=38.917679,-77.039735&spn=0.00...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/81/236572815_4bd3d314d3_o.jpg"
width="245" height="200"><br />
<br />
1739 Seaton Street (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/81/236572815_4bd3d314d3_o.jpg"
width="245" height="200"><br />
<br />
This is the same house at 1739 Seaton Street <br />
photographed by Gordan Parks in June 1942.<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&z=18&ll=38.917015,-77.038161&s...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/94/237230542_63cd1cec89_b.jpg" width
="260" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/87/236573077_2494b6eb2f_o.jpg"
width="260" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.917011,-77.033...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/84/236573045_2282c58c18_o.jpg" width
="275" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/84/236573045_2282c58c18_o.jpg"
width="275" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.917312,-77.038...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/97/236572981_e9b9261c11_o.jpg" width
="275" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/97/236572981_e9b9261c11_o.jpg"
width="275" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.917598,-77.038...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/82/236572913_8394ac562a_o.jpg" width
="275" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/82/236572913_8394ac562a_o.jpg"
width="275" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.917685,-77.039...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/81/236572838_a935469f45_o.jpg" width
="200" height="270"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/81/236572838_a935469f45_o.jpg"
width="200" height="270"><br />
<br />
Enter Text Here (1942)<br />
</div>

<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.918424,-77.039...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/91/236572722_86eece81f7_o.jpg" width
="275" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/91/236572722_86eece81f7_o.jpg"
width="275" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.917283,-77.038...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/93/236572482_708ab174e7_o.jpg" width
="200" height="280"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/93/236572482_708ab174e7_o.jpg"
width="200" height="280"><br />
<br />
Enter Text Here (1942)<br />
</div>
<a
href="http://www.google.com/maphp?q=&ie=UTF8&om=1&z=19&ll=38.91813,-77.0398...">
GREEN MINI
</a>
<div title="today"><img
src="http://static.flickr.com/97/236572437_a12e27074b_o.jpg" width
="275" height="200"><br />
<br />
Enter Text Here (2006)<br />
<br />
</div>
<div title="1942"><img
src="http://static.flickr.com/97/236572437_a12e27074b_o.jpg"
width="275" height="200"><br />
<br />
Enter Text Here (1942)<br />
</div>
</div>
</body>
</html>

Robert Fleming

unread,
Sep 8, 2006, 12:31:38 PM9/8/06
to Google-...@googlegroups.com

> -----Original Message-----
> I have tabbed info-windows on my map- i.e. you click on a marker an
> infowindow pops up and its tabbed so that you see one photo and then
> when you click on the second tab you see the second photo.
> It worked a
> few hours ago, but now when you click on the second tab the
> info-window
> closes!? Some people on the Google Maps site said to check to see if
> anything changed with the extension:

Same thing happening here, with both the js file from bluweb.com and a
copy of 2.2 I have on my webserver (dated June 29) so it looks to me
like it's a change on Google's side.

Rob

Robert Fleming

unread,
Sep 8, 2006, 12:39:21 PM9/8/06
to Google-...@googlegroups.com

Hate replying to myself but found this, which looks like a plausible
suspect

http://mapki.com/wiki/Changelog#V2.62
The info window is now an overlay.
Clicking on the info window causes a click event.
Warning If you're using
GEvent.addListener(map, "click", function(overlay, point)
{
if (overlay) {
you can no longer assume that the overlay is a GMarker.


Rob

Chouser

unread,
Sep 8, 2006, 1:42:07 PM9/8/06
to Google-...@googlegroups.com
Robert Fleming wrote: [Fri Sep 08 2006, 12:39:21PM EDT]

> Hate replying to myself but found this, which looks like a plausible
> suspect
>
> http://mapki.com/wiki/Changelog#V2.62
> The info window is now an overlay.
> Clicking on the info window causes a click event.
> Warning If you're using
> GEvent.addListener(map, "click", function(overlay, point)
> {
> if (overlay) {
> you can no longer assume that the overlay is a GMarker.

Thanks for finding that. This is really annoying. I won't be able to
get a fix for this into GMapEZ tonight, but perhaps this weekend?

I wondered if this sort of thing might happen. Starting with the next
major release of GMapEZ a specific Google Maps version number will be
used, instead of always just taking Google's latest. That will help
prevent this sort of thing in the future, at the danger of sometimes
falling behind in bug fixes.

Oh, or perhaps better, allow users to name a Google API verion if they
want to. That would be better. I'll see what I can do. Sorry,
everyone!

--Chouser

Max

unread,
Sep 8, 2006, 1:39:15 PM9/8/06
to Google Maps EZ
Hi Rob

I've got the same problem. Relieved (strangely) to discover its not
something I've done. Do you have an ideas how to solve this, or is it
something Chouser has to fix?

Chouser

unread,
Sep 8, 2006, 1:59:50 PM9/8/06
to Google-...@googlegroups.com
Ok, this is just a quick ugly workaround, but maybe it will help...

I've put up a new version, GMapEZ 2.2.1. This is NOT well tested, so
it's not the default. Therefore, you'll first need to change your
script tag to:

<script
src="http://bluweb.com/chouser/gmapez/gmapez-2.2.1.js"
type="text/javascript"></script>

All this new version does is let you specify the Google API version
that you want. If indeed Google's 2.62 is the problem, try backing up
a version by adding this meta tag BEFORE your script tag:

<meta name="gmapversion" content="2.61" />

If anyone can confirm this working (or not), please reply right away.
Thanks.

--Chouser

Robert Fleming

unread,
Sep 8, 2006, 1:59:51 PM9/8/06
to Google-...@googlegroups.com

> -----Original Message-----

> <meta name="gmapversion" content="2.61" />
>
> If anyone can confirm this working (or not), please reply right away.
> Thanks.

This works for me.

Thanks

Rob

Chocke

unread,
Sep 8, 2006, 3:44:12 PM9/8/06
to Google-...@googlegroups.com
Yes it work's

Download "GMapEZ 2.2.1"
It work's with or without <meta name="gmapversion" content="2.61" />

Here is my site as under construction.
http://familjenahlm.se/linedansklubbarkarta/ SWEDISH.

Soon I will donate, when I'm ready.
//Chocke


-----Ursprungligt meddelande-----
Från: Google-...@googlegroups.com
[mailto:Google-...@googlegroups.com] För Chouser
Skickat: den 8 september 2006 20:00
Till: Google-...@googlegroups.com
Ämne: Re: Clicking on Second Tab Title in Info-Window Shuts The Window!?

Max

unread,
Sep 8, 2006, 6:31:22 PM9/8/06
to Google Maps EZ

This works OK thanks.

Chouser

unread,
Sep 8, 2006, 8:31:47 PM9/8/06
to Google-...@googlegroups.com
Chocke wrote:
> It work's with or without <meta name="gmapversion" content="2.61" />

I'd be careful about assuming that it will continue to work without
the gmapversion meta tag. It looks like Google is currently servinc
up 2.61a be default. If up bump that back up to 2.62 it MAY break
your map again. I would recommend using the gmapversion meta tag if
you're worried about your map breaking again in this way.

--Chouser

Chocke

unread,
Sep 9, 2006, 5:28:02 AM9/9/06
to Google-...@googlegroups.com
Okej

It looks like this?

<meta name="gmapkey"
content="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />


<meta name="gmapversion" content="2.61" />

<script src="http://bluweb.com/chouser/gmapez/gmapez-2.2.1.js"
type="text/javascript"></script>


//Chocke


-----Ursprungligt meddelande-----
Från: Google-...@googlegroups.com
[mailto:Google-...@googlegroups.com] För Chouser

Skickat: den 9 september 2006 02:32
Till: Google-...@googlegroups.com
Ämne: Re: SV: Clicking on Second Tab Title in Info-Window Shuts The Window!?

MisterGWP

unread,
Sep 12, 2006, 2:05:48 PM9/12/06
to Google Maps EZ
Chouser...you are a genius...the fix worked great.
mist...@thehunley.com

Nick

unread,
Sep 14, 2006, 10:19:17 PM9/14/06
to Google Maps EZ
Thanks, Chouser. You've still got the touch.

Topper

unread,
Sep 22, 2006, 8:55:27 AM9/22/06
to Google Maps EZ
Can anyone tell me if this fix has been incorporated into gmapez-2.js
yet?

Topper

unread,
Sep 22, 2006, 8:57:23 AM9/22/06
to Google Maps EZ
Any idea when this fix will be incorporated into the live build of
gmapez-2.js?

Topper

unread,
Sep 22, 2006, 8:59:40 AM9/22/06
to Google Maps EZ

Chocke

unread,
Sep 22, 2006, 12:37:06 PM9/22/06
to Google-...@googlegroups.com

Read prior letters:

Ok, this is just a quick ugly workaround, but maybe it will help...
I've put up a new version, GMapEZ 2.2.1. This is NOT well tested, so it's not the default. Therefore, you'll first need to change your script tag to:
<script


type="text/javascript"></script>

All this new version does is let you specify the Google API version that you want. If indeed Google's 2.62 is the problem, try backing up a version by adding this meta tag BEFORE your script tag:

<meta name="gmapversion" content="2.61" />


If anyone can confirm this working (or not), please reply right away.
Thanks.

--Chouser

I hope Chouser write this on his site?

Chocke



-----Ursprungligt meddelande-----
Från: Google-...@googlegroups.com [
mailto:Google-...@googlegroups.com] För Topper
Skickat: den 22 september 2006 14:55
Till: Google Maps EZ
Ämne: Re: Clicking on Second Tab Title in Info-Window Shuts The Window!?
Reply all
Reply to author
Forward
0 new messages