How to rotate a Map in JS Api?

5642
6
12-28-2011 01:52 AM
vipulsoni
Occasional Contributor
Hi,

In Silverlight API (map.rotation = double value;) we can rotate a map very easily, but I need to do that in JS Api.

Is it possible in JS Api?
6 Replies
JeffPace
MVP Alum
Hi,

In Silverlight API (map.rotation = double value;) we can rotate a map very easily, but I need to do that in JS Api.

Is it possible in JS Api?


I have been looking for this as well, as far as I can tell it is not currently possible.
0 Kudos
vipulsoni
Occasional Contributor
I have been looking for this as well, as far as I can tell it is not currently possible.


yes instead rotate the map from the mxd>msd>publish service but then you might issues in panning the map in the api. The pan operation then shifts the map irregularly.
0 Kudos
nicogis
MVP Frequent Contributor
vipulsoni, I confirm that your doubts about api javascript are right because I have rotated (for test) a dataframe in mxd and api javascript have problems (for example in query).
0 Kudos
vipulsoni
Occasional Contributor
vipulsoni, I confirm that your doubts about api javascript are right because I have rotated (for test) a dataframe in mxd and api javascript have problems (for example in query).


Hi,

Still is there any solution to this problem for Map Rotation in Javascript API 3.0 with ArcGIS Server 10.1

(http://forums.arcgis.com/threads/56214-JS-API-Map-Rotation-in-10.1?highlight=map+rotation)
0 Kudos
TimothyAbdella
New Contributor
When will the JS API support map rotation?
0 Kudos
RickeyFight
MVP Regular Contributor
0 Kudos