If you are happy to parse the xml to an array of object literals and then sort that array then take a look at my post in this thread:
http://groups.google.co.uk/group/google-maps-api/browse_frm/thread/f0c4a0ae99e203a6/03451dfde5dc3f84?hl=en#03451dfde5dc3f84 Martin. On 10 Sep, 20:43, Hassan Kadhim <[email protected]> wrote: > Hi all, > > I have a working custom google map in which I take employee information from > an XML file and load it up on the map. Coordinates are in the XML file and > all seems to work fine. > > I also have a sidebar next to my map and a list of all my markers appear in > that side bar. > > The last thing I need to do would be to alphabetically sort the markers > based on their last name (element <Nom>). I tried several different things > but all my trials were based on non-Google javascript code and so couldnt > really solve my issue. > > Did anyone ever get to do that using XSL formatting to the XML file before > reading the markers??? > > For references, you can find my map on the following > link:http://www.linkkings.com/hkbica_test/b/ > > and my XML file on the following > link:http://www.linkkings.com/hkbica_test/Tel.xml > > Any help will be greatly appreciated! > > Thanks. > hk --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
