Select to view content in your preferred language

Manually setting scale levels for map

861
3
06-22-2011 08:25 AM
MattPratap
Deactivated User
The AGS for Silverlight api help states that the first tiled map service layer will determine the scale levels at which map uses when SnapToLevels="True".

My first layer (ArcGISTiledMapServiceLayer) is my base imagery which is not particularly high resolution, but I need to be able to zoom in even further for my other ArcGISDynamicMapServiceLayers to show high detail.   Hopefully the base layer will just be interpolated by the client at these zoomed in levels.

I dont wish to cache my base layer with really high resolution tiles, since it will use a lot of disk space for not much benefit.

How do I manually (in xaml or in c# code) configure the map control to use specific scale levels?

thanks
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
What's the problem if you set SnapToLevels to False?
0 Kudos
MattPratap
Deactivated User
What's the problem if you set SnapToLevels to False?


Because some tile cached layers with rendered text and lines look terrible when the client interpolates the tiles at arbitrary scale levels.

Does that mean there is no programmatic way (in xaml or c#) to specify the scale levels the map must use?
0 Kudos
MattPratap
Deactivated User
Sorry, my initial post meant to say that I have multiple other ArcGISTiledMapServiceLayers (in addition to my base imagery tiled layer and some ArcGISDynamicMapServiceLayers).
The other tiled layers look terrible at arbitrary scale levels if SnapToLevels=False (although the dynamic ones are ok at any scale).

Anyways, I have found a workaround which sets the map to a set of predefined scale levels independent of my base imagery layer scale levels.
0 Kudos