AnsweredAssumed Answered

How do get goTo to consistently frame the target 4.x API

Question asked by nschmidt on Jan 4, 2018
Latest reply on Jan 4, 2018 by nschmidt

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.  

 

Edit fiddle - JSFiddle 

 

What am I missing?  Is this simply a limitation of the current implementation of the MapView?

Outcomes