A project has a slicing layer as the basemap, and a dynamic layer as the topic. Two layers are superimposed.
The ratio of the display condition to the slice of the dynamic layer is set accordingly. That is, when the slice layer is displayed below a certain proportion, the topic layer will hide and display some content that can be displayed at this proportion.
This function is completely normal when the rest service is accessed through a browser. However, it cannot be correctly displayed on the iPhone interface.
After querying the ArcGIS forum, we found that the iPhone DPI is 163, while the server's DPI for slicing is 96.
This will cause a problem where the scale does not match.
Solution:
Set
Agsdynamicmapservicelayer. DPI = 96.
The related explanations are as follows:
Http://forums.arcgis.com/threads/4247-Rendering-Labels-in-AGSDynamicMapServiceLayer? Highlight = 132% 2f96
The labels are bigger because agsdynamicmapservicelayer uses the phone's resolution (163 DPI) to export
Maps. Other APIs that run on computers (not phones) Use a smaller resolution-96 is standard for most computer screens. Hence the difference.
The difference stems from the fact that labels are defined in point sizes (ex: Arial 10pt, etc). The graphic gurus
Of the world have decided that 72 points = 1 inch. but what exactly is 1 inch on a screen? Well, that depends on the screen's DPI (DOTS-per-inch ). at 96 DPI, 1 inch = 96 dots. at 163 DPI, 1 inch = 163 dots. so if you defined your label as 72 PT Arial, it wowould
Take up 96 dots on a map exported at 96 DPI, But it wocould take up 163 dots on map of 163 DPI. 163 is bigger than 96 (obviously) and so the labels are bigger.
If you like, you can change the DPI Property
Of agsdynamicmapservicelayer to 96 and then the labels will have the familiar proportion you're expecting.