@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "offset" => 0, |
18 | 18 | "limit" => 20 |
19 | 19 | )); |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "zipcode" => '00601', |
18 | 18 | "housenumber" => 17, |
19 | 19 | "offset" => 0, |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "zipcode" => '00601', |
18 | 18 | "offset" => 0, |
19 | 19 | "limit" => 20 |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "zipcode" => '00601' |
18 | 18 | )); |
19 | 19 |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "zipcode" => '00601', |
18 | 18 | "housenumber" => 17 |
19 | 19 | )); |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | // Set the api key in the Route4me class |
12 | 12 | Route4Me::setApiKey('11111111111111111111111111111111'); |
13 | 13 | |
14 | - $geocodingParameters=array( |
|
14 | + $geocodingParameters = array( |
|
15 | 15 | 'format' => 'xml', |
16 | 16 | 'addresses' => '42.35863,-71.05670' |
17 | 17 | ); |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | // Set the api key in the Route4me class |
12 | 12 | Route4Me::setApiKey('11111111111111111111111111111111'); |
13 | 13 | |
14 | - $geocodingParameters=array( |
|
14 | + $geocodingParameters = array( |
|
15 | 15 | 'format' => 'xml', |
16 | 16 | 'addresses' => 'Los20%Angeles20%International20%Airport,20%CA' |
17 | 17 | ); |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Route4Me; |
3 | 3 | |
4 | - $vdir=$_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
4 | + $vdir = $_SERVER['DOCUMENT_ROOT'].'/route4me/examples/'; |
|
5 | 5 | |
6 | 6 | require $vdir.'/../vendor/autoload.php'; |
7 | 7 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | // Set the api key in the Route4me class |
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | - $gcParameters=(array)Geocoding::fromArray(array( |
|
16 | + $gcParameters = (array)Geocoding::fromArray(array( |
|
17 | 17 | "pk" => 4 |
18 | 18 | )); |
19 | 19 |