예제 #1
0
파일: maps.php 프로젝트: taqmaninw/apipack
 /**
  * Returns Google maps geocoding
  *
  * @return Eden_Google_Maps_Geocoding
  */
 public function geocoding()
 {
     return Eden_Google_Maps_Geocoding::i($this->_token);
 }
예제 #2
0
if(!class_exists('Eden_Google_Maps')){class Eden_Google_Maps extends Eden_Google_Base{public static function i(){return self::_getMultiple(__CLASS__);}public function __construct($token){Eden_Google_Error::i()->argument(1,'string');$this->_token=$token;}public function direction(){return Eden_Google_Maps_Direction::i($this->_token);}public function distance(){return Eden_Google_Maps_Distance::i($this->_token);}public function elevation(){return Eden_Google_Maps_Elevation::i($this->_token);}public function geocoding(){return Eden_Google_Maps_Geocoding::i($this->_token);}public function image(){return Eden_Google_Maps_Image::i($this->_token);}}}