On Apr 8, 8:41 am, Eric <[email protected]> wrote: > Ok, thanks for the reply, the link to the test site > ishttp://www.byebyewithbaby.com/test3.html. I have searched but haven't > found any answers on this. > > I used the tutorial > athttp://code.google.com/apis/maps/articles/phpsqlsearch_v3.html > for the code to this search.
You are using v3, the Google Maps API v3 discussion group is: http://groups.google.com/group/google-maps-js-api-v3/ > > I know that some is done on the server (ie, I never declared $row yet > it seems to work)... but I am a bit new to programming so I don't know > what code to add and where to add it. I found in the genxml.php file > that I downloaded from that tutorial where it has > $newnode->setAttribute("name... etc and tried mimicking that to create one for > > the id field. > > I have a page (http://www.byebyewithbaby.com/locations.php) that, when > passed a "location_number" (ie locations.php?&location_number=[id goes > here]) it will dynamically display more details on the entry with that > particular id number (which is in $row[0]). > > What code would I enter (and where would I enter it - I'm assuming in > the "function createMarker" area on test3.html) to have it display a > link of "<a href='http://www.byebyewithbaby.com/locations.php? > &location_number=" . $row[0] ">Click Here for More Info</a>" > > On Apr 8, 6:48 am, "[email protected]" <[email protected]> > wrote: > > > > > On Apr 7, 9:53 pm, Eric <[email protected]> wrote: > > > > How do I add objects to the search results of the Google Maps Store > > > Locator? > > > Write the code to do that. > > > > I want to add (in the bubble, not in the "sidebar" a link to > > > a more details page (will need to include php code to retrieve info > > > from a mysql table to generate the link - like 'echo "<a > > > href='http://www.site.com/locations.php?location_number=" . $row[0] . > > > "'>Click > > > Here</a>") and also an icon also dependent on information within a > > > mySQL table (an "if($row[x] == 'y') { echo "/icon.jpg"; }") > > > You will need to understand that some of the processing is done on the > > server (if $row...) and some is done in the client. > > > Where is your map that you tried to do this and ran into trouble? > > >http://groups.google.com/group/google-maps-api/web/suggested-posting-...... > > > Alternatively, similar questions have been asked in the past, you can > > search for the answer. > > > -- Larry- Hide quoted text - > > - Show quoted text - -- 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.
