Hello
I am trying to calculate distance between two points using VB.NET and wondered if anyone could provide some assistance as to the best way to do this. Basically, I have created a stockists search site where I want users to type in their location using an available text box and the site will then locate stockists that are close to them e.g., within a 20 mile radius. The destination of the stockists will be pulled from a database. I need to firstly locate stockists that are close to the origin entered by the user and also display the distance to screen of that stockist.
I have seen this facility across many dating sites, such as POF.com, where you enter your location and people within a certain radius of where you live will be shown.
I am assuming this is a fairly difficult task to achieve?
Thanks in advance!
I am trying to calculate distance between two points using VB.NET and wondered if anyone could provide some assistance as to the best way to do this. Basically, I have created a stockists search site where I want users to type in their location using an available text box and the site will then locate stockists that are close to them e.g., within a 20 mile radius. The destination of the stockists will be pulled from a database. I need to firstly locate stockists that are close to the origin entered by the user and also display the distance to screen of that stockist.
I have seen this facility across many dating sites, such as POF.com, where you enter your location and people within a certain radius of where you live will be shown.
I am assuming this is a fairly difficult task to achieve?
Thanks in advance!