I am trying to consistently ensure that a target point collection is within a zoom extent in the js 4.x API. My example here is oversimplified, I am not simply trying to zoom to static points, I am trying to understand and resolve the struggle I am having with forcing the MapView to show specific extents.
I cannot consistently keep the points in frame. I realize one suggestion will be to expand the frame but there is no predictable way to do that that I have found that has it working in all cases.
What am I missing? Is this simply a limitation of the current implementation of the MapView?