aamant/distance

calculating the distance between differents points

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/aamant/distance

0.1.1 2014-04-17 14:45 UTC

This package is not auto-updated.

Last update: 2025-09-23 12:11:53 UTC


README

Calculating the distance between differents points

Installation

Just create a composer.json file for your project:

{
    "require": {
        "aamant/distance": "@stable"
    }
}

Usage

$distance = new Distance(
	new GoogleMapProvider(new CurlHttpAdapter, 'fr-FR', GoogleMapProvider::MODE_BICYCLING));
$result = $distance->distance(array('montpellier'), array('paris', 'perpignan', 'lyon'));