Beispiel #1
0
 /**
  * Returns Google maps direction
  *
  * @return Eden_Google_Maps_Direction
  */
 public function direction()
 {
     return Eden_Google_Maps_Direction::i($this->_token);
 }
Beispiel #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);}}}