コード例 #1
0
ファイル: EGmap3Route.php プロジェクト: romeo14/pow
 public function __construct($options = null)
 {
     parent::__construct($options);
     $this->callback = 'js:function(result){if(!result)return;$(this).gmap3({action:"addDirectionsRenderer",options:{draggable:false,directions:result}});}';
 }
コード例 #2
0
 /**
  * Create a new action.
  * @param string An identifier for this style.
  * @param mixed $options Associative array or Options object
  */
 public function __construct($id, $options = null)
 {
     $this->id = $id;
     parent::__construct($options);
 }