AnsweredAssumed Answered

MapView wrap around bug

Question asked by ncameron on Jun 27, 2016
Latest reply on Aug 2, 2016 by kenbuja

Hi Guys,

I'm sure you're aware of this - but asking anyway.

Have an issue continuously panning the x axis on a map view.

If I add a graphic to a graphics layer then pan all the way around the world back to the position where the graphic should be, it's no longer displayed.

 

Also if I place one graphic on one side of the international date line and then another on the other side, one of the graphics doesn't appear when it should until I pan all the way around the globe to the where it then appears and the other one doesn't.

See this plunkr for a demo:

https://plnkr.co/edit/UDzCuPSgQWZEze8IWfTI?p=preview

 

Also calling normalize() on an extent isn't working as expected - I know it's not in the official api, but there is a public method on the object still - guessing this is also related.

SceneView appears to be fine.

 

Thanks,

Nick

Outcomes