Again, thanks for all of the comments. Andrew, I would like to explain a little as to why I do it the way I do but first of all let me say that I defer to your superior knowledge and I know that you have forgotten more than I will ever know about map making, if you will pardon an old cliché.
This is my first map and I have learned a lot. I have tried many ways of loading and manipulating markers and at one time I did exactly as you suggest. As stated, I live in a part of the world with slow connections. We pay for high-speed and get dial-up so am trying to get my maps to load and change markers as fast as possible. Along the line, I noticed that my maps loaded a lot faster that showing/hiding (removing/adding) markers. I would get a couple of time-outs when changing. I ran the test with firebug described by Michael Geary in this thread, http://groups.google.com/group/Google-Maps-API/browse_thread/thread/8212acc42cd59a97/c0cd785d879dda8f?lnk=gst&q=slow+marker+loading# and found that my make sidebar function was using 97% of the resources. That’s why I moved in the direction that has lead me to this point. If you can direct me to an efficient show/hide, make side bar I will be more than happy to dig out my old map and give it another try. Ross, I will experiment with the window.location. Hopefully, if I can get this problem solved I will not be developing this page much more but could you give me an example of what I might have to change as far as the functions inside of the onload? TIA Les > I note there is still in-line code like - > var catData_load = window.location.search.substring(1); > which could read from DOM before it is complete. > > I note most of your functions are defined inside the onload call too, > which doesn't seem to cause a problem at the moment but you may need > to change that as you develop the page. > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
