On May 16, 9:44 am, gray37 <[email protected]> wrote:
>
> Now that we are going into JQuery territory, would it be possible to
> add tabs to this equation without knocking the code
> out:http://econym.org.uk/gmap/example_map10.htm?
>
I think tabs are suitable when there's two videos at the same
location. It's starting to get a bit complicated but the XML would
need to be modified to include information about this cluster,
including a count of videos, the name of the group, and a short title
for each tab:
<location
title="Bloomsbury Gym: Lower Level"
menu="Lower Level"
category="BLOOMSBURY GYM"
clusterName="Bloomsbury Gym"
clusterCount="2"
tab="Lower Level"
video="BloomsburyGym1_out.swf"
lat="51.525123"
lng="-0.132625"/>
<location
title="Bloomsbury Gym: Upper Level"
menu="Upper Level"
category="BLOOMSBURY GYM"
tab="Upper Level"
video="BloomsburyGym2_out.swf"
lat="51.52491935321885"
lng="-0.13261914253234863"/>
The code needs modifying to create infowindows with tabs, and to
generate clicks from the sidebar to open a particular tab. If the
marker is clicked on the map then the first tab will open. See the
following map for how it would work:
http://www.william-map.com/20100517/1/tabs.htm
...
--
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.