AnsweredAssumed Answered

PrintTask line not visible (map.graphics layer)

Question asked by detroit on Aug 20, 2012
Latest reply on Aug 20, 2012 by DSwingley-esristaff
I'm using printtask to make a print of the map.
I add some graphics to map.graphics layer. In case of point or polygon the print task will actually print the result but if its a polyline the result will be only seen on map itself (as per result of map.graphics.add) but not on the printed image/pdf.
I dont think the symbol is wrong since i use same marker for line and polygon...



pointStyle : new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 20, null, new dojo.Color([255,255,0,0.5]));
linepolyStyle : new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol("dashdot", new dojo.Color([255,0,0]), 5), new dojo.Color([255,255,0,0.25]));


pseudo code
if point{
add graphic to map.graphics
}
else //so if polyline or polygon
{
add graphic to map.graphics
}


Hopefully someone already met and solved this issue:)

Outcomes