After adding ArcGISDynamicMapServiceLayer, zoom level of the basemap doesn't work

Discussion created by jerryli on Oct 10, 2013
Latest reply on Oct 11, 2013 by jerryli
I add a ArcGISDynamicMapServiceLayer to the basemap, then when I am calling basemap.getZoom(), it always returns -1.
And the basemap.setZoom also doesn't work properly.