Select to view content in your preferred language

Rotating MapPackage layer also rotates labels

4050
5
10-08-2014 08:22 AM
AndrewPurkis
Deactivated User

A bug seems to have been introduced between 10.2.3 and 10.2.4 with regards to map rotation and .mpk layers.  In 10.2.3 when I rotate the maps, the labels adjusted themselves to always remain readable.  In 10.2.4 they now rotate in sync with the map, so at 180 deg, horizontal labels are now upside down. (See attach files).

Andrew Purkis

Versaterm Inc

Tags (1)
0 Kudos
5 Replies
AndrewPurkis
Deactivated User

On further testing, they will correct themselves if I pan or zoom the map.

Andrew Purkis

Versaterm Inc.

0 Kudos
AndrewPurkis
Deactivated User

Follow up:

This was kind of reported under RT.NET-000025 in the beta, and assigned NIM100378.

NIM1000378 has been fixed in 10.3.  Is that fix included in 10.2.4?

The labels problem can be seen using the test app I submitted with the original problem report.

If you convert it to 10.2.4, then start it.  Don't touch the map; just click the rotate button, and you can see the label problem.  As well the enlarged extent is not being rendered, i.e. the corners are cut off.

If you click in the map the labels will be displayed correctly, but the problem originally reported (scale changing) still remains.

Thanks

Andrew Purkis

Versaterm Inc

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Are you able to share the Map Package you are testing?

I cannot reproduce this against an online map service (e.g. SampleWorldCities (MapServer) ) but I would like to confirm the behavior against a local map service.

Cheers

Mike

0 Kudos
AndrewPurkis
Deactivated User

Hi Mike,

Attached is our test sample.

If you run it. (then for me!)

  1. Without panning or zooming map, rotate map using Up button, notice 20th and 21st, are not correcting themselves, and the roads are not extending to fill the map.
  2. Now Pan the map a small amount.  Now labels adjust properly and full extent is drawn.
  3. Continue using Up button, till it gets to ~23 deg.  Notice map has jumped scale.
  4. Press Down button, until you get down to 0, then press up again. You are now back to initial state 1.

I hope that helps

Thanks

Andrew Purkis

Versaterm Inc.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Unfortunately we were not able to get the fix for the scale issue mentioned in Step #3 into the local server. It was however fixed in ArcGIS Server 10.3 and we hope to have this fix in the local 10.3 server as well.

0 Kudos