> If you click on the > markershttp://www.tinemuller.dk/new_new_test_drupal/node/1394 > you will see "nid and a number in bold" - nid is a new field.
What markers? I tried a search for 'Wichita' and got the Pacific Ocean (and no markers). Your phpsqlsearch_genxml.php returns invalid XML if no data is found. Try pasting this in your browser to see http://www.tinemuller.dk/new_new_test_drupal/sites/all/storelocator2/phpsqlsearch_genxml.php?lat=37.6922361&lng=-97.3375448&radius=25 Looking at the code, you're already reading 'nid' from the XML (when its valid). You pass it to your function createMarker(nid, latlng, name, address); and use it in the code within that function, to create the infowindow. You don't pass it to createSidebarElement(name, distance, i); but its self-evident that's what you need to do. And then do whatever it is you want with it, within createSidebarElement() -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
