On Mar 16, 9:51 pm, justanobody <[email protected]> wrote: > Thanks, Larry, > > Tried adding it to the 'createMarker' line before -- didn't work. Put > it back in now just in case.
Worked for me... http://www.geocodezip.com/jaemac_com_phpsqlajax_mapB.html -- Larry > > Yes -- contact1 is undefined, but it's the variable, not the data. If > I change the line (var name = markers[i].getAttribute("name");) to var > name = markers[i].getAttribute("contact1"); I can get the names from > my contact column to show up -- they are just in place of the name. I > can also define contact1 with var contact = "some value"; outside of > the function and it will work -- it's just that wherever I want the > contact name to show up in the marker, it reads 'some value.' I need > it to be in the loop so it gets the right value of the contact for > each address. -- 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.
