var myLine ={geometry:{"paths":[[[4.0264,48.09885],[0.223,46.085]]],
"spatialReference":{"wkid":4326}},
"symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}};
var graphic= new Graphic(myLine);
map.graphics.add(graphic);
var countryLayer = new GraphicsLayer();
var myLine ={geometry:{"paths":[[[4.0264,48.09885],[0.223,46.085]]],
"spatialReference":{"wkid":4326}},
"symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}};
var gra= new Graphic(myLine);
countryLayer.add(gra);
map.addLayer(countryLayer);