paupepui

Copy or clone an ESRI graphic

Discussion created by paupepui on Mar 29, 2011
Latest reply on Mar 29, 2011 by DSwingley-esristaff
How can I clone a graphic (it's geometry or the entire graphic) and change its symbol in order to highlight?

This code isn't work:
graficoPerfil = new esri.Graphic();
graficoPerfil.setGeometry = graphic.geometry;

graphic is the graphic for clone. graficoPerfil is the new copy of graphic.

Thanks.

Pau Pérez
http://cartoweb.cma.gva.es

Outcomes