public function compileShape(Fluent $fluent)
    {
        $map = [
            'type'               => 'geo_shape',
            'tree'               => $fluent->tree,
            'precision'          => $fluent->precision,
            'tree_levels'        => $fluent->tree_levels,
            'strategy'           => $fluent->strategy,
            'distance_error_pct' => $fluent->distance_error_pct,
            'orientation'        => $fluent->orientation,
            'points_only'        => $fluent->points_only,
        ];

        return $this->formatMap($map);
    }
public function compileShape(Fluent $fluent)
    {
        $map = [
            'type'               => 'geo_shape',
            'tree'               => $fluent->tree,
            'precision'          => $fluent->precision,
            'tree_levels'        => $fluent->tree_levels,
            'strategy'           => $fluent->strategy,
            'distance_error_pct' => $fluent->distance_error_pct,
            'orientation'        => $fluent->orientation,
            'points_only'        => $fluent->points_only,
        ];

        return $this->formatMap($map);
    }
public function compileShape ( Fluent $ fluent ) { $ map = [ 'type' => 'geo_shape' , 'tree' => $ fluent -> tree , 'precision' => $ fluent -> precision , 'tree_levels' => $ fluent -> tree_levels , 'strategy' => $ fluent -> strategy , 'distance_error_pct' => $ fluent -> distance_error_pct , 'orientation' => $ fluent -> orientation , 'points_only' => $ fluent -> points_only , ] ; return $ this -> formatMap ( $ map ) ; }
Compile a geo shape map.

@param Fluent $fluent

@return array
Compile a geo shape map .