Changed drive distance addresses. More notable

White House to Munster House

Also changed function name to match my standard.

Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
2019-09-27 16:48:42 -05:00
parent 48b38f9501
commit 6bf1da851c
2 changed files with 3 additions and 3 deletions

View File

@@ -17,8 +17,8 @@
// -- Drive Distance ---------------------------------------------------------------------------------------------------
$origin = '1600 Pennsylvania Ave NW, Washington, DC 20500';
$destination = '4433 N Indiana Ave, Kansas City, MO 64117';
$dist = $geocode->Get_Distance($origin, $destination, 'driving', 'imperial');
$destination = '1313 Mockingbird Lane, North Hollywood, CA 91602';
$dist = $geocode->getDistance($origin, $destination, 'driving', 'imperial');
echo 'STATUS: ' . $dist['status'] . '<br/>';
echo 'DISTANCE: ' . $dist['distance'] . '<br/>';
echo 'DURATION: ' . $dist['duration'] . '<br/>';