In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. For Point and polygon the infowindow shows correctly but for polyline it doesn’t show infowindow or draw the polyline for the geometry returned . It blanks out the map. Please guide me if am doing something wrong. Please find the code below.
Var polylinesymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0,255,0]), 5), new Color([255,255,0,0.25]));
var clickPointGraphics = new Graphics(featureSet.features.geometry, polylinesymbol);