I haven't tried it yet on explorer. Thanks for the heads up. As for multiple maps, there are reasons for it. However, they are not important for purposes of this discussion.
I'm simply looking to find out if there are techniques that I'm unaware of that I can use to improve the load time as currently constructed. If so, I'd like to evaluate what it would take to implement those techniques. If not, then obviously, a single map is the path to take. John On Apr 14, 2:46 pm, Grok Lobster <[email protected]> wrote: > Example page doesn't work with IE8 - no maps at all. > In Firefox, it loads after more than a minute. > You should use 1 map. Why have the user scroll around to see the > different maps? > Have your sidebar list the different locations currently represented > by your many maps and don't load the markers for a location until the > user selects that location. > > On Apr 14, 9:20 am, John <[email protected]> wrote: > > > > > Hi: > > > I have a web page that, depending on particulars, can have up to 20 > > maps on it. Loading it is very slow. Each map has its own unique set > > of markers. In addition, all of the maps show two other sets of > > markers. These two sets of markers are common to all maps. Each maps > > show anywhere between 700-1000 markers. > > >http://www.gooseneckcreek.com/test5_gooseneckcreek.htmisa > > representation of that page. > > > If you look at it, you will see that I make use of the marker manager > > and its AddMarkers method. The two sets of markers used in common on > > all maps are defined in the arrDNIMarkers and arrDNQMarkers arrays. > > Then each individual map's unique set of markers are defined in > > different arrays whose names are of the form arrmap*_Markers where the > > asterisk (*) is replaced by the map number. > > > The application is to add two markers to each map and see where they > > lie in relation to all of the existing markers in each map. Those two > > markers are added using the addOverlay method. The existing marker > > data, which is contained in the arrays, changes very little on a day- > > to-day basis. It would be ideal if there is a way to build all the > > maps once a day and then reference those maps as needed and add the > > additional two markers to them. > > > Generally, not all the maps are initially shown when the page > > displays. Some are shown by default and some are hidden by default, > > based on the set of criteria met by the two markers added to each > > map. Hidden maps can be shown, shown maps can be hidden. > > > Is there any recommendation on how I can speed this up? > > > Obviously, there is the option of one map with all markers and then > > have the user move around it, probably build a sidebar to turn on and > > off different sets of markers. But I'd like to continue using what I > > have if that is possible/reasonable. > > > Regardless, I'm going to start down the single map road while hoping > > to hear that there is something I can do to improve the multiple map > > setup. > > > Thanks, > > > John -- 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.
