Re: [Rails] Latitude and Longitude check with in range

2018-06-09 Thread Hassan Schroeder
On Sat, Jun 9, 2018 at 1:44 PM, David Merrick wrote: > Hi Hassan. > > You will need to Uh, no, not my question. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan Consulting Availability : Silicon Valley or remote -- You received this message because you

Re: [Rails] Latitude and Longitude check with in range

2018-06-09 Thread David Merrick
Define a set of list of points set([lat,long],...) or [ [lat,long],...] If location in set or list accept else block On Sun, Jun 10, 2018 at 1:41 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Sat, Jun 9, 2018 at 12:42 AM, honey ruby > wrote: > > > I have city or county Lat an

Re: [Rails] Latitude and Longitude check with in range

2018-06-09 Thread David Merrick
Hi Hassan. You will need to specify a collection of points that define an area.ie County or City Try https://www.sitepoint.com/a-beginners-guide-css-regions/ On Sun, Jun 10, 2018 at 1:41 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Sat, Jun 9, 2018 at 12:42 AM, honey ruby >

Re: [Rails] Latitude and Longitude check with in range

2018-06-09 Thread Hassan Schroeder
On Sat, Jun 9, 2018 at 12:42 AM, honey ruby 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

[Rails] Latitude and Longitude check with in range

2018-06-09 Thread honey ruby
Hi , 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