I recommend always loading all four xml files, and keeping a record of which marker came from which file. Use .hide() and .show() in a loop if you have less than about 200 markers in total. Use .addOverlay() and .removeOverlay() in a loop if you have more than 200 markers in total.
For better loading efficiency, combine the four XML files into a single file, with a parameter to indicate which category each marker belongs to. See: http://econym.org.uk/gmap/categories.htm -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
