Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
add comment

1 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

share|improve this answer
    
ok i use lods from net but very zoom in to map . and when use map.tileInfo is undefind –  eman Feb 15 '13 at 15:35
    
@eman what do you mean? can you explain? –  Devdatta Tengshe Feb 15 '13 at 16:36
    
ok i mean zoom slider appear when set var lods =[level: 0, resolution: 0.3515625, scale: 230517.43451801158,level: 0, resolution: 0.3515625, scale: 230517.43451801158] as example but this zoom in my map what i do to get suitable lods –  eman Feb 15 '13 at 18:01
    
You need to figure that out based on your data, projection, the scale that you need. ect. –  Devdatta Tengshe Feb 15 '13 at 18:39
    
sorry can you give me example for this. you mean from my map get scale and use this in lods –  eman Feb 15 '13 at 18:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.