コード例 #1
0
ファイル: Core.php プロジェクト: snoblucha/typo3_listfeusers
 /**
  * Add a polyline to the map.
  *
  * @param Tx_Listfeusers_Gmap_Polyline $polyline Polyline
  * @return Gmap
  */
 public function addPolyline(Tx_Listfeusers_Gmap_Polyline $polyline)
 {
     $this->polylines[$polyline->getId()] = $polyline;
     $this->bounds->addPolyline($polyline);
     return $this;
 }
コード例 #2
0
 public function getOptions()
 {
     return parent::getOptions() + $this->options;
 }
コード例 #3
0
 /**
  *
  * @param Tx_Listfeusers_Gmap_Polyline $polyline
  * @return Tx_Listfeusers_Gmap_Bounds
  */
 public function addPolyline(Tx_Listfeusers_Gmap_Polyline $polyline)
 {
     $this->addLatLng($polyline->getBounds()->getTop()->getLat(), $polyline->getBounds()->getTop()->getLng());
     $this->addLatLng($polyline->getBounds()->getBottom()->getLat(), $polyline->getBounds()->getBottom()->getLng());
     return $this;
 }