public function setMarkers($markers)
    {
        $this->markers = array();

        foreach ($markers as $marker) {
            $this->addMarker($marker);
        }
    }
public function setMarkers($markers)
    {
        $this->markers = array();

        foreach ($markers as $marker) {
            $this->addMarker($marker);
        }
    }
public function setMarkers ( $ markers ) { $ this -> markers = array ( ) ; foreach ( $ markers as $ marker ) { $ this -> addMarker ( $ marker ) ; } }
Sets the cluster markers.

@param array $markers The cluster markers.
Sets the cluster markers .