AnsweredAssumed Answered

How to zoom to graphic layer

Question asked by alex.gole_ELDORADOCOUNTY on Dec 15, 2016
Latest reply on Dec 15, 2016 by alex.gole_ELDORADOCOUNTY

Hi all,

I am trying to zoom to a graphic layer but I have no success,\

var GraphicsBuffer = new GraphicsLayer();
       = 'GraphicsBuffer';

var extent = esri.graphicsExtent(GraphicsBuffer);
                                map.setExtent(extent, true);

any help is welcome.