AnsweredAssumed Answered

How do I find the extent of an array of graphics in JS API 4.x?

Question asked by mogollon on Mar 20, 2017
Latest reply on Feb 8, 2018 by clintoncrick

Is there a 4.x version of esri/graphicsUtils? I'm trying to zoom to the extent of my IdentifyResult after hydrating the graphics into a GraphicsLayer. The GraphicsLayer, by default has an extent of the world, but it's not updated when graphics are added to it. Maybe this ability has moved to somewhere else in the 4.x API? Or, if someone has some code that could manually expand the extent as the response.results come in, I'd be very gracious!