I Actually noticed that and I used the example of 37 and -122 and I
got my xml file to work. Is 37 -122 a good number to use??
... I see that her javascript retrieves the XML by contacting the php
page she created. .." GDownloadUrl(searchUrl, function(data) { " I
don't have a php page. I have the XML on the same page. I will be
researching this and hopefully have the code soon. If you have any
idea how to grab javascript that is held at the server that would be
last piece to my puzzle.
On Nov 25, 3:52 am, Rossko <[email protected]> wrote:
> > - 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 athttp://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.