On Sat, Jun 9, 2018 at 12:42 AM, honey ruby <
emailtoh...@gmail.com> wrote:
> I have city or county Lat and Long and if user inputs of lat and long are
> with in the city or county which I specify then I should allow him for next
> page else I need to block him and say we are not serving at that place.
> Using Geocoder I don't see any method to check lat and long with in range.
A Range is standard Ruby, nothing Geocoder-specific about it. What
does an example lat/long "range" look like?
Otherwise, is there some reason Thing.near() doesn't work for your
use case?
--
Hassan Schroeder ------------------------
hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote