/** * 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; }
public function getOptions() { return parent::getOptions() + $this->options; }
/** * * @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; }