On 12 July 2011 13:29, Nico Oudshoorn <n...@meerijden.nu> wrote: > I use the same method in my version 2 site. There I don't have this problem. > $zoekafstand isn't the problem. $vanposlat is the problem. If $zoekpos is > zutphen in the netherlands then the result $vanposlat = 52.133333. But in > the calculation with the result $maxlat, the value of $vanposlat is 52 > instead of 52.13333. That gives a difference with the V2 solution. So in > $maxlat Th V2 result is 0,133333 higher and that is the correct result. Why > I don't know. The same problem of course with $vanposlng.
"Why" is because you're using the wrong method, as I explained earlier. If you want to convince me (and, presumably, Google) that you're using the right method, you're going to have to provide some worked examples with real data. -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.