[GIS] Dynamic Map Service with Zoom Slider in arcgis by API for javascript

arcgis-javascript-api

I have ArcGISDynamicMapServiceLayer and I want to show Zoom Slider by API 3.2 for javascript

Best Answer

The ZoomSlider appears only when your map has a set of resolutions or LODs as they are called. If your map has a tiled layer then it automatically gets the LODs from that particular Map service.

If you want this ZoomSlider on a Map with contains only Dynamic Map services, you will have to set the LODs your self.

This samples shows how you can do so: Set visible scales