AnsweredAssumed Answered

How to stop Map from rotating using JS API

Question asked by shashank_a on May 31, 2013
Latest reply on May 31, 2013 by mhoover12
Hi

I have simple map. I'm adding a layer of type 'ArcGISTiledMapServiceLayer' and displaying 'https://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer' map.

No when I pan the map to Left or Right side a new map starts to appear on the screen as if they are endless of maps on the screen which come up as I keep on pan the map to Right or Left sides.

I don't want my map to display another map on the screen. Please refer to the Screenshot of what I mean.

In the screen shot you can see that when I pan right bringing Australia in to the middle of my screen I see SouthAmercica slowly coming in to the screen from right hand side of the map.

I want this behaviour to be stopped. Is their any way to stop this behaviour of the map?

Update:
Currently I'm using 3.4 version of Js API. When I user earlier versions of the Js API like 2.8 I get the functionality what I want i.e., new map does not creeps out from other side of the map when user panns the map to one side of the map.
Thanks in advance.

Attachments

Outcomes