AnsweredAssumed Answered

query highlight and zoom to graphics JS API 4.4?

Question asked by alex.gole_ELDORADOCOUNTY on Jul 27, 2017
Latest reply on Apr 11, 2018 by ibroad

Hi all,

Is there a way to highlight and zoom to graphics in 4.4 ? In 3.21 i used graphicsUtils.

 

var symbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID,new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,new Color([0, 0, 0, 0.65]), 2),new Color([24, 24, 199, 0.5]));
            var test = new Graphic(AOI, symbol);
            var extent = graphicsUtils.graphicsExtent(GraphicsParceliden.graphics);
            map.setExtent(extent, true);

Outcomes