On Nov 19, 11:40 pm, seths <[email protected]> wrote:
> I'm using the store locator tutorial and the haversine based query I
> took from there isn't calculating the correct distance, thereby giving
> incorrect results.

What makes you think that the results are incorrect?


>  I know people have gotten this working, so I
> assume it's on my end, but I just can't see where.

Neither can we because you didn't post a link:
http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical


> Array (
> [address] => 517 Castro St, San Francisco, CA
> [name] => Sausage Factory Inc
> [lat] => 37.389580
> [lng] => -122.081467
> [distance] => 32.176938769486 )


That is not the correct latlon for "517 Castro St, San Francisco, CA",
but rather it is "Castro St., Mountain View, CA"
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=37.389580,-122.081467+&sll=37.752462,-122.426748&sspn=0.04859,0.087461&ie=UTF8&ll=37.392664,-122.079563&spn=0.048825,0.087461&z=14


--
Marcelo - http://maps.forum.nu
--


>
> Any ideas?

--

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=.


Reply via email to