2017 © Pedro Peláez
 

zf2-module geolocation

MyZend Geolocation handles Google Maps API to resolve addresses.

image

myzend/geolocation

MyZend Geolocation handles Google Maps API to resolve addresses.

  • Tuesday, August 13, 2013
  • by ipascual
  • Repository
  • 2 Watchers
  • 5 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

MyZend / Geolocation

Version 0.9, (*1)

Build status:, (*2)

Build Status, (*3)

Introduction

MyZend Geolocation is a ZF2 module to resolve an address using Google Maps API., (*4)

Uses MongoDB to save the locations., (*5)

You could add a reference of this objects from any of your entities., (*6)

/** @ODM\ReferenceOne(targetDocument="Geolocation\Document\Geolocation") */
protected $geolocation;

Examples

/**
* Basic usage
*/
$googleMapsHelper = new Geolocation\Document\GoogleMapsHelper($this->getServiceManager());
$googleMapsHelper->forwardSearch("La Rambla, s/n, Barcelona");
if ($googleMapsHelper->getStatus() == $googleMapsHelper::OK) {
    var_dump($googleMapsHelper->getGeoData());
}
/**
* Document resolve creation
*/
$geolocationHelper = new Geolocation\Document\GeolocationHelper($this->getServiceManager());
$geolocationDocument = $geolocationHelper->lookupGeolocation("Brixton Academy, London");

The Versions

13/08 2013

dev-master

9999999-dev

MyZend Geolocation handles Google Maps API to resolve addresses.

  Sources   Download

The Requires

 

by Ignacio Pascual

13/08 2013

0.9.3.2

0.9.3.2

MyZend Geolocation handles Google Maps API to resolve addresses.

  Sources   Download

The Requires

 

by Ignacio Pascual

02/08 2013

0.9.3.1

0.9.3.1

MyZend Geolocation handles Google Maps API to resolve addresses.

  Sources   Download

The Requires

 

by Ignacio Pascual

20/06 2013

0.9

0.9.0.0

MyZend Geolocation handles Google Maps API to resolve addresses.

  Sources   Download

The Requires

 

by Ignacio Pascual