Google Maps Geo Coding

Instantiate Geo Coding
$geocoding = eden('google')->maps($_SESSION['token'])->geocoding();
Geo Coding Methods
Method Arguments Returns Description
$geocoding->setBounds($bounds);
  1. string
Eden_Google_Maps_Geocoding The bounding box of the viewport within which to bias geocode results more prominently.
$geocoding->setLanguage($language);
  1. string
Eden_Google_Maps_Geocoding The language in which to return results.
$geocoding->setRegion($region);
  1. string
Eden_Google_Maps_Geocoding The region code
$geocoding->getResponse($address, $sensor = 'false');
  1. string
  2. string
array Returns geocode information

© 2012 Openovate Labs. All rights reserved.