/**
  * Constructor
  * 
  * @param Directions $dir Directions to decorate
  * @param string $map Map ID of the map the directions are attached to
  * @return DirectionsDecorator
  */
 public function __construct(Directions $dir, $map)
 {
     parent::__construct($dir, array('_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param FusionTable $ft Fusion Table to decorate
  * @param int $id ID of the Fusion Table in the map
  * @param string $map Map Id of the map the Fusion Table is attached to
  * @return FusionTableDecorator
  */
 public function __construct(FusionTable $ft, $id, $map)
 {
     parent::__construct($ft, array('_id' => $id, '_map' => $map));
 }
示例#3
0
 /**
  * Constructor
  *
  * @param Shape $shape The shape to decorate
  * @param int integer $id ID of the shape in the map
  * @param string $map Map ID of the map the shape is attached to
  */
 public function __construct(Shape $shape, $id, $map)
 {
     parent::__construct($shape, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  *
  * @param DOMEventListener $listener The event listener to decorate
  * @param int integer $id ID of the event listener in the map
  * @param string $map Map ID of the map the event listener is attached to
  */
 public function __construct(EventListener $listener, $id, $map)
 {
     parent::__construct($listener, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param KmlLayer $kml KML layer to decorate
  * @param int $id ID of the KML layer in the map
  * @param string $map Map Id of the map the KML layer is attached to
  * @return KmlLayerDecorator
  */
 public function __construct(KmlLayer $kml, $id, $map)
 {
     parent::__construct($kml, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param GroundOverlay $ground_overlay GroundOverlay to decorate
  * @param int $id ID of the ground overlay in the map
  * @param string $map Map Id of the map the ground overlay is attached to
  * @return GroundOverlayDecorator
  */
 public function __construct(GroundOverlay $ground_overlay, $id, $map)
 {
     parent::__construct($ground_overlay, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param CustonControl $control Custom control to decorate
  * @param int $id ID of the custom control in the map
  * @param string $map Map ID of the map the custom control is attached to
  * @return CustomControl
  */
 public function __construct(CustomControl $control, $id, $map)
 {
     parent::__construct($control, array('_id' => $id, '_map' => $map));
 }
示例#8
0
 /**
  * Constructor
  *
  * @param Poly $poly The poly to decorate
  * @param int integer $id ID of the poly in the map
  * @param string $map Map ID of the map the poly is attached to
  */
 public function __construct(Poly $poly, $id, $map)
 {
     parent::__construct($poly, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param Marker $marker Marker to decorate
  * @param int $id ID of the marker in the map
  * @param string $map Map Id of the map the marker is attached to
  * @return MarkerDecorator
  */
 public function __construct(MarkerGroup $group, $id, $map)
 {
     parent::__construct($group, array('_id' => $id, '_map' => $map));
 }
 /**
  * Constructor
  * 
  * @param PanoramioLayer $Panoramio Panoramio layer to decorate
  * @param int $id ID of the Panoramio layer in the map
  * @param string $map Map Id of the map the Panoramio layer is attached to
  * @return PanoramioLayerDecorator
  */
 public function __construct(PanoramioLayer $panoramio, $id, $map)
 {
     parent::__construct($panoramio, array('_id' => $id, '_map' => $map));
 }
示例#11
0
 /**
  * Constructor
  * 
  * @param Marker $marker Marker to decorate
  * @param int $id ID of the marker in the map
  * @param string $map Map Id of the map the marker is attached to
  * @return MarkerDecorator
  */
 public function __construct(Marker $marker, $id, $map)
 {
     parent::__construct($marker, array('_id' => $id, '_map' => $map));
 }