AnsweredAssumed Answered

Panning to Point in WrapAround180 past initial extent in Arcgis Javascript API

Question asked by healy108 on Jun 1, 2017

With my map set to WrapAround180: true, I have a icon list outside of the map that pans to a location on the map when you select an icon in the list. If you are outside of the initial extent and select an icon in one of the maps wrap around extents, it will pan all the way to the initial extent instead of in the extent that the user is currently viewing. Is there a way to convert the initial extent geometry of a point to be the current extent geometry so the icons popup will open regardless of whatever extent you are in?

 

I tried:

screenUtils.toMapGeometry(this.map.extent, this.map.width, this.map.height, currG.geometry)

but this is giving me a very large number that is not located on the map. my geometry points are in SR 102100.

Outcomes