AnsweredAssumed Answered

MapPoint graphic is initially showing wrong until the map is panned or zoomed

Question asked by danwebb on Nov 16, 2018
Latest reply on Nov 20, 2018 by danwebb

Here’s an interesting one.  I’m using Esri JavaScript API 4.9.

 

I built a tool that will place a point with xy coordinates.  The first time it is used will place the graphic offset.  But once the map is panned or zoomed, the graphic will appear in the right place.  (See screenshots.)

 

It seems like the Map (or MapView?) needs to refresh or recalculate the screen pixels or something.

 

Is there a method to do this?  Is it a bug?

 

Thanks for any help.

Attachments

Outcomes