Im trying to zoom to the extent of a couple of graphics that are on the map. None of the methods that worked for api 3.x are available in v4. Im hoping someone knows alternatives.
graphicsUtils is marked as coming soon. This has the graphicsExtent(graphics) method that i could use.
I have tried the method
but I need to specify the zoom myself. Which is not helpful. I want it to dynamically calculate bounds/extent and zoom to fit the graphics.