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.htm is a
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.

Reply via email to