I figured that I would have to use a different variable or array for the 2 maps, but the part that is kicking my butt is calling the two xml files. I cannot find any documentation on GXmlHttp and calling 2 different xml files for two different maps. Like I said, I haven't started yet, but I can show you my previous page that is very similar to my new one.
http://www.storagewest.com/pages/az.htm I want two maps just like that on the same page. On Nov 7, 6:55 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
