gmacgaul

HOW TO ADD A GRAPHIC IN MAP  AS A LAYER IN AGSJS TOC?

Discussion created by gmacgaul on May 3, 2013
Latest reply on May 21, 2013 by nliu
Hi! I draw graphics in the map using de Draw Toolbar. How can i add these as layers in the agsjs toc?

The part of the code tah add the grapchic is:

"....
var graphic = new esri.Graphic(geometry, symbol);
map.graphics.add(graphic);
...."



thanks!!

Outcomes