Map Extent Change After deployment

349
1
05-10-2020 06:00 AM
NadirHussain
Occasional Contributor II

Dear all 

i am facing one problem.My map change extent after deployment.for this i have attached two images.you can see the difference of development image with deploment.my map service spatial reference wgs84 with datumwgs84.so please help me to get out from this problem

Thanks in advance.

0 Kudos
1 Reply
mdonnelly
Esri Contributor

Is one extent just zoomed in slightly more than the other extent?

This can happen when using different sized screens or one browser window is smaller than another. The API does its best to fit the extent into the available screen real estate. This can result in different zoom extents when moving between different screen/browser window sizes.

Regards,
Mark
0 Kudos