Skip to main content
Inspiring
January 7, 2014
Question

Find closest location?

  • January 7, 2014
  • 1 reply
  • 462 views

Hi-

I have several "search" locations (either address and/or lat/long) from a cfquery.

and

I have one "main" location.

I need to pass all of the values - the "search" and the "main" - into a service (any free service) that will tell me the one closest "search" value to the "main" value. I can specify a radius if needed (200 km).

Anyone done this with CF before? I know there are several Google services that use its Map API but none seem to do what I need....

Thanks,

Rich

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    January 8, 2014

    Had similar  requiremnt built using

    http://cfgmap.riaforge.org/

    for  to get lat & log use http://googlegeocoder3.riaforge.org/ & store  it in your db.