Ejemplo n.º 1
0
 /**
  * Add control to the map.
  *
  * @param Map $map The leaflet map.
  *
  * @return $this
  */
 public function addTo(Map $map)
 {
     $map->addControl($this);
     return $this->addMethod('addTo', array($map));
 }