> I have created a store locator (www.evolvegolf.com/storelocator.html)
> ... I add the phone number as a node in my xml

Okay, you have an attribute for the phone number in your XML, for
example -
   <marker name="Golfsmith/Arlington-15" address="..." phone=""
perhaps they're not all populated yet?  Else you have a problem in
your php/SQL side that we can't help with.

When there is something there to read, your javascript uses lines like
-
       var address = markers[i].getAttribute('address');
to read the data from XML.
Pretty obviously you'dwant to add another line like
       var phone = markers[i].getAttribute('phone');

A quick and dirty way to get the phone number displayed is to tack it
onto the end of the displayed address;
       address = address + "<br>Tel: " + phone;

--~--~---------~--~----~------------~-------~--~----~
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