jarrudy

zoom slider bar

Discussion created by jarrudy on May 12, 2011
Latest reply on May 13, 2011 by jarrudy
hi,
newbie question here: i have a map viewer with a zoom slider bar (the default one) in the top left. problem is, the initial extent - which i define in my map constructor:

map = new esri.Map("map", { extent:initialExtent, logo:false});

the problem is the default view is halfway up the zoom bar (which only leaves around 3 tics until it is maxed out. what i would like is the default view to be at the bottom of the zoom slider so the user has several tics to zoom in further. in other words, so the user can only zoom in, not zoom out past my initial extent.

how would i do this?

thanks!

Outcomes