public function geoShape($field, $type, array $coordinates = [], array $attributes = [])
    {
        $query = new GeoShapeQuery();

        $query->addShape($field, $type, $coordinates, $attributes);

        $this->append($query);

        return $this;
    }
public function geoShape($field, $type, array $coordinates = [], array $attributes = [])
    {
        $query = new GeoShapeQuery();

        $query->addShape($field, $type, $coordinates, $attributes);

        $this->append($query);

        return $this;
    }
public function geoShape ( $ field , $ type , array $ coordinates = [ ] , array $ attributes = [ ] ) { $ query = new GeoShapeQuery ( ) ; $ query -> addShape ( $ field , $ type , $ coordinates , $ attributes ) ; $ this -> append ( $ query ) ; return $ this ; }
Add a geo shape query.

@param string $field
@param $type
@param array $coordinates
@param array $attributes

@return $this
Add a geo shape query .