Select to view content in your preferred language

Label Scale Range Inverted When Displaying Runtime Content

2606
1
Jump to solution
05-05-2014 02:18 PM
JamesRichards1
Regular Contributor
Hi,

I'm experimenting with the new Share As... Runtime Content... option in ArcGIS Desktop 10.2.2. I created an offline geodatabase file with a point layer (Cities). The layer has its Scale Range set to "Don't show layer when zoomed out beyond: 1:12,000,000". This looks correct in ArcMap and works fine when publishing the geodatabase file as runtime content, sideloading to the device, and loading the layer into a map using this code:

for (AGSFeatureTable* fTable in [self.geodatabase.featureTables reverseObjectEnumerator]) {     if ([fTable hasGeometry]) {         NSLog(@"adding name: %@", fTable.tableName);         [self.mapView addMapLayer:[[AGSFeatureTableLayer alloc] initWithFeatureTable:fTable]];     } }


I then turned on the "Label features in this layer" option and set the Scale Range of the labels to "Don't show labels when zoomed out beyond: 1:4,000,000". This works correctly in ArcMap, however, when displayed on the device the labels are shown between 4,000,000 and 12,000,000 scale.

Thanks!
James
0 Kudos
1 Solution

Accepted Solutions
SuganyaBaskaran1
Esri Contributor
This seems to be an issue with the SDK. We'll work on fixing it.

Thanks for reporting
Suganya

View solution in original post

0 Kudos
1 Reply
SuganyaBaskaran1
Esri Contributor
This seems to be an issue with the SDK. We'll work on fixing it.

Thanks for reporting
Suganya
0 Kudos