I retrieve the Latitude and Longitude from mysql database and
i need to calculate the real  road distance between the two Points
right now i am doing it simply by using the following code

/*
protected double distance(double pX, double pY) {
                double dx=this.x - pX;
                double dy=this.y - pY;
                double distance=Math.sqrt(dx * dx + dy * dy);
                return distance;
        }
*/
which gives me the direct distance between two points

any Suggestions/Guidance on how to achieve it

Thanking you
Regards
Sameer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to