Let me be honest and say up front that I don't have a link. I'm
putting together a website for my church while I'm in Iraq, burning it
to disk and mailing it to them. I can't post on Tripod because the DOD
group policies won't let me. That being said, any help that anyone is
willing to give me despite this handicap will be greatly appreciated.
Here's my problem:
I'm making a "Where we are" page with two embedded maps to show the
church's two locations. I have these two maps in the top row of a 2x2
table and I have the markers, but the info bubbles are kicking my
butt. What I would like to do is have each map open one info bubble
when the map is loaded with the church's name and the "get directions"
link. I would like the directions to show up below the map if
possible.
>From what I've seen, I'm not sure if both maps can open their own
bubble at the same time, or if only one can be opened, and getting
them to auto-open just isn't working for me. I'm copying the code for
the whole table below. Please forgive my abysmal Java, I've been
copying it from other sources and clicking away at it to make it do
what I want, I don't actually know what any of it means. Thank you in
advance for any help available.
<table width="935" height="1075" border="0">
<tr>
<td width="467" height="410"><script src="http://
maps.google.com/maps?
file=api&v=1&key=ABQIAAAAgCNofnQyYJBK07n1VtBf9xTt1tW6zRC65NJAQPcgsPBJc0i9SRRDGhoMhDE0k6Aovlb_-
nua9321JA" type="text/javascript"></script>
</head>
<body>
<div id="crestline" style="width: 467px; height: 410px"></div>
<script type="text/javascript">
//<![CDATA[
var map = new GMap(document.getElementById("crestline"));
map.addControl(new GSmallMapControl());
map.centerAndZoom(new GPoint(-117.260538, 34.250333), 3);
var point = new GPoint(-117.260538, 34.250333);
var marker = new GMarker(point);
map.addOverlay(marker);
//]]>
</script></td>
<td width="1" rowspan="3" bgcolor="#FFCC00"> </td>
<td width="467"><script src="http://maps.google.com/maps?
file=api&v=1&key=ABQIAAAAgCNofnQyYJBK07n1VtBf9xTt1tW6zRC65NJAQPcgsPBJc0i9SRRDGhoMhDE0k6Aovlb_-
nua9321JA" type="text/javascript"></script>
</head>
<body>
<div id="redlands" style="width: 467px; height: 410px"></div>
<script type="text/javascript">
//<![CDATA[
var map = new GMap(document.getElementById("redlands"));
map.addControl(new GSmallMapControl());
map.centerAndZoom(new GPoint(-117.178658, 34.058249), 3);
var point = new GPoint(-117.178658, 34.058249);
var marker = new GMarker(point);
map.addOverlay(marker);
//]]>
</script></td>
</tr>
<tr bgcolor="#FFCC00">
<td height="1" bgcolor="#14285F"> </td>
<td height="1" bgcolor="#14285F"> </td>
</tr>
<tr>
<td width="467" height="637"> </td>
<td width="467"> </td>
</tr>
</table>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---