You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
I propose that the esriMap module updateScopeFromMap function normalize the geographic center coordinates. Consider the screenshot below, where the longitude is greater/smaller than +/-180 after panning west from the initial map extent over CA.
Cool. I can verify that it's a quick fix for the sake of the geographic extent center values; no problem with normalizing a point.
On a related note--I just couldn't let it go (typical)--I looked at the esriMap extent values. The xmin and xmax values also continue to increase or decrease in a similar manner. Do we want to fuss over this?
Normalizing an extent will do the job, but if it crosses the dateline, we get 2 normalized extents. Then again, since this only applies when an extent-change handler has been bound and we provide the entire event object, we could continue to leave the onus on the developer to deal with normalizing if they really wanted to...
I propose that the esriMap module
updateScopeFromMap
function normalize the geographic center coordinates. Consider the screenshot below, where the longitude is greater/smaller than +/-180 after panning west from the initial map extent over CA.The change could be:
Thoughts?
The text was updated successfully, but these errors were encountered: