Calculating Distance with Google Maps
Hi All, this is probably more of a Google Maps question, but I think it might be helpful for Classipress users because of the different things you can do with the google maps api and classipress.
I'd like to take the poster's address and and create a solid point with an address, and draw a line between the two points. I'd like to calculate the distance between two points and have the distance show up in the caption window. You can see an example of what I'm talking about below:
I've been reading a lot of tutorials and Google Code: Maps Api forum but I've just been held back by my lack of coding experience. I've tried messing with function.php.
Two sites I've been using:
and here is an example of a basic distance application:
Any help would be very much appreciated!