public function addLatLngs($values, $ringIndex = 0)
    {
        foreach ($values as $position) {
            $this->addLatLng($position, $ringIndex);
        }

        return $this;
    }
public function addLatLngs($values, $ringIndex = 0)
    {
        foreach ($values as $position) {
            $this->addLatLng($position, $ringIndex);
        }

        return $this;
    }
public function addLatLngs ( $ values , $ ringIndex = 0 ) { foreach ( $ values as $ position ) { $ this -> addLatLng ( $ position , $ ringIndex ) ; } return $ this ; }
Add a list of values.

@param array $values    Position list.
@param int   $ringIndex The index of the ring.

@return $this
@throws InvalidArgumentException If LatLng could not be created.
Add a list of values .