this.initLine = function()
    {
        var points = data.coords.split(" ");
        for ( i = 0; i < points.length; i++ )
        {