2017 © Pedro Peláez
 

library mapzen-php

Mapzen SDK for PHP - Use Mapzen in your PHP project

image

minube/mapzen-php

Mapzen SDK for PHP - Use Mapzen in your PHP project

  • Thursday, March 10, 2016
  • by devaddiction
  • Repository
  • 8 Watchers
  • 1 Stars
  • 14,745 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

Mapzen PHP

How to use it

To extract all the points between different locations, (*1)

$client = new \Mapzen\MapzenClient($apiKey);

$turnByTurn = new \Mapzen\Request\TurnByTurn();
foreach ($points as $point) {
        $turnByTurn->addLocation($point['latitude'], $point['longitude']);
}
$result = $client->turnByTurn($turnByTurn);
$points = $result->getDecodedRoutePoints();

The Versions

10/03 2016

dev-master

9999999-dev http://minube.com

Mapzen SDK for PHP - Use Mapzen in your PHP project

  Sources   Download

Apache-2.0

The Requires

 

sdk mapzen