public function compilePoint(Fluent $fluent)
    {
        $map = [
            'type'              => 'geo_point',
            'geohash'           => $fluent->geohash,
            'geohash_precision' => $fluent->geohash_precision,
            'geohash_prefix'    => $fluent->geohash_prefix,
            'ignore_malformed'  => $fluent->ignore_malformed,
            'lat_lon'           => $fluent->lat_lon,
            'precision_step'    => $fluent->precision_step,
        ];

        return $this->formatMap($map);
    }
public function compilePoint(Fluent $fluent)
    {
        $map = [
            'type'              => 'geo_point',
            'geohash'           => $fluent->geohash,
            'geohash_precision' => $fluent->geohash_precision,
            'geohash_prefix'    => $fluent->geohash_prefix,
            'ignore_malformed'  => $fluent->ignore_malformed,
            'lat_lon'           => $fluent->lat_lon,
            'precision_step'    => $fluent->precision_step,
        ];

        return $this->formatMap($map);
    }
public function compilePoint ( Fluent $ fluent ) { $ map = [ 'type' => 'geo_point' , 'geohash' => $ fluent -> geohash , 'geohash_precision' => $ fluent -> geohash_precision , 'geohash_prefix' => $ fluent -> geohash_prefix , 'ignore_malformed' => $ fluent -> ignore_malformed , 'lat_lon' => $ fluent -> lat_lon , 'precision_step' => $ fluent -> precision_step , ] ; return $ this -> formatMap ( $ map ) ; }
Compile a geo point map.

@param Fluent $fluent

@return array
Compile a geo point map .