         return _attributes;
     }
 
+    //--------------------------------------------------------------------------
+    //  center
+    //--------------------------------------------------------------------------
+
     private var _center:MapPoint;
 
     public function get center():MapPoint

import com.esri.ags.geometry.Polyline;
import com.esri.ags.symbols.Symbol;

[Bindable]
public class ResultItem
{
    public function ResultItem(graphic:Graphic, attributes:ResultAttributes)
    {
        _graphic = graphic;
        _attributes = attributes;
        _center = getGeomCenter(graphic);
    }
    private var _graphic:Graphic;

    public function get graphic():Graphic
    {
        return _graphic;
    }

    private var _attributes:ResultAttributes;


        return _center;
    }

    //--------------------------------------------------------------------------
    //  geometry
    //--------------------------------------------------------------------------

    public function get geometry():Geometry
    {
        return _graphic.geometry;
    }

    //--------------------------------------------------------------------------
    //  symbol
    //--------------------------------------------------------------------------

    public function get symbol():Symbol
    {
        return _graphic.symbol;
    }

    //--------------------------------------------------------------------------
    //
    //  Methods
    //
    //--------------------------------------------------------------------------

    private function getGeomCenter(graphic:Graphic):MapPoint
    {
