On Nov 6, 8:32 pm, Adam <[EMAIL PROTECTED]> wrote:
> Hello, I have already made a few maps with sidebars, but only one per
> page so far. I am needing to make a page with 2 maps that each has
> it's own sidebar that lists the points on the corresponding map. I
> have mouseover events for the sidebar text as well as the icons.
>
> I have looked all over and found ways to have multiple maps and
> multiple sidebars, but not how to have multiple maps with their own
> sidebars. I am currently using an xml data file for each of my current
> map pages... I don't know if I should have a separate xml file for
> each map or parse just one file.
>
> I haven't even started as I don't know how to accomplish this. All I
> am looking for is either a tutorial that I have seemed to miss, or
> some help. Thank you so much!

Either create a unique variable for each (i.e. map1, sidebar_html1)
and a unique div to put each in or create an array (map[1],
sidebar_html[1]).  Doesn't really matter if you do one or multiple xml
files, but keeping track of multiple GXmlHttp objects is more
difficult than one.

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to