2017 © Pedro Peláez
 

library geocode

Geocode

image

davidvandertuijn/geocode

Geocode

  • Saturday, June 10, 2017
  • by davidvandertuijn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 119 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 23 % Grown

The README.md

Geocode

Total Downloads Latest Stable Version License, (*1)

Geocode, (*2)

Geocoding is the process of converting addresses, place names, or other location identifiers into geographic coordinates (latitude and longitude). This essential functionality enables various applications and services to accurately locate and visualize locations on a map., (*3)

"Buy Me A Coffee", (*4)

Register an API Key

Your application's API key. This key identifies your application for purposes of quota management. Learn how to get a key., (*5)

Install

composer require davidvandertuijn/geocode

Usage

use Davidvandertuijn\Geocode;

Request, (*6)

$geocode = new Geocode();

$geocode->setApiKey(''); // Your application's API key.
$geocode->setAddress('Westblaak 180, 3012 KN, Rotterdam, NL');

if ($geocode->request()) {
    $latitude = $geocode->getLatitude(); // 51.9163212
    $longitude = $geocode->getLongitude(); // 4.475754
}

The Versions

10/06 2017

dev-master

9999999-dev

Geocode

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by David van der Tuijn

10/06 2017

1.0

1.0.0.0

Geocode

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by David van der Tuijn