> - In the SELECT command in the blog they use '%s' in the formula. Is > that suppose to be the radius? I assume she got tired and didn't want > to write the word radius????
Have a look at http://code.google.com/apis/maps/articles/phpsqlsearch.html and the para titled "Finding locations nearby with MySQL" > - She has lat in her php escape clause twice, why is that? Its exactly > the same as one another. Is there somewhere in her formula that > specifies 2 different lats? > 28. mysql_real_escape_string($center_lat), > 29. mysql_real_escape_string($center_lng), > 30. mysql_real_escape_string($center_lat), I think that's a little error that doesn't matter in practice, well spotted > - After I get the xml to work properly with the Havershine formula I > don't know how to get it with the Javascript... Any Ideas? If your script outputs XML, why would the javascript that interprets it be any different from the given example? It doesn't know or care if the XML comes from a Cobol program or is just a static file. -- 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.
