2017 © Pedro Peláez
 

symfony-bundle coordinates-distance-bundle

Coordinates/Distance converter

image

jean553/coordinates-distance-bundle

Coordinates/Distance converter

  • Monday, February 22, 2016
  • by jean553
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

coordinates-distance-bundle

Installation

composer require jean553/coordinates-distance-bundle

app/AppKernel.php :, (*1)

$bundles = array(
    new jean553\CoordinatesDistanceBundle\CoordinatesDistanceBundle(),
    ...
)

Use

$service = $this->get('coordinates_distance.service');
$distanceInKilometers = $service->getDistanceBetweenCoordinates(
    $latitudeFrom,
    $longitudeFrom,
    $latitudeTo,
    $longitudeTo
);

The Versions

22/02 2016

dev-master

9999999-dev

Coordinates/Distance converter

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Jean LELIEVRE