News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer.com:
Charting Your Course Using the Google Maps API
April 15, 2009 @ 17:27:05

Developer.com has posted the latest part in their series on using the Google Maps API. This time they focus on something a bit more complex - working with more than one point and creating complex routes between them.

This installment tackles another fascinating aspect you'll undoubtedly encounter when building location-based solutions, namely distance calculation. Whether you want to simply plot the distance separating two points on the map, or perform more complex operations involving measuring the total distance spanning a more complex route, understanding how to perform these sorts of calculations will prove invaluable time and again.

The tutorial gives you example screenshots and complete code to calculate the distance between two points and, based on plots of a few different points, how to determine the distance traveled. His example is of a running route around a park.

0 comments voice your opinion now!
chart course googlemaps api screenshot tutorial


blog comments powered by Disqus

Similar Posts

Web Development Blog: Upload images for usage in TinyMCE

SitePoint PHP Blog: Best Practices REST API from Scratch Implementation

SitePoint PHP Blog: Social Network Authentication: Merging Accounts

Builder.com: Match users to their geo-location with PHP and PEAR Net:Geo

Gonzalo Ayuso: Working with jQuery and Silex as RestFull Resource provider


Community Events





Don't see your event here?
Let us know!


language laravel opinion community introduction series library composer voicesoftheelephpant update framework install security release podcast symfony tool package interview version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework