SetScale method for map with dynamic map service layer

Discussion created by huhao.esri on Feb 28, 2013
I want to use setScale method to set the map scale to certain value. But it seems my map scale only have several values(e.g. 1000, 2000, 4000, 8000, 16000, 32000, 64000...). Then whey I tried to set scale to 5000, it only can set to nearest one, 4000. The layer I loaded on the map contains only a dynamic map service layer. Any suggestions? Thanks!