[Google Maps API v3] Re: Calculating distance based on "Blocks" rather than miles

2011-08-24 Thread Ian Nesbit
thanks Larry what i meant with question 2 is that how can I store the polygon into my database? i guess i'd store every point of the polygon shape coordinates into the database which forms one particular restaurant delivery area, right? I'm using MS SQL Server 2005 which I will have to upgrade

[Google Maps API v3] Re: Calculating distance based on "Blocks" rather than miles

2011-08-24 Thread Ian Nesbit
sounds like a good approach, thanks Rossko, But I have three questions: 1- How to store the polygon into database (probably given the shape points coordinates right?) 2- How can Google's API help me to identify every point coordinates? 3- How can Google API's help me to test current point with s

[Google Maps API v3] Re: Calculating distance based on "Blocks" rather than miles

2011-08-23 Thread Ian Nesbit
thanks Kesuke for your reply, I have considered all of your options, let me tell you a bit about my project We provide a online way for restaurant to receive orders, most of orders are to be delivered, we have just started in New York City but gaining more clients in different states (Tri Stat

[Google Maps API v3] Calculating distance based on "Blocks" rather than miles

2011-08-23 Thread Ian Nesbit
Hi, I'm building this delivery application where I need to calculate the distance between 2 different addresses and compare it to pre-defined number, i have it now running by Miles, so if the distance between both address are more than 2 radius miles (for example) it will be false, now my clien