ggyamin

how can i manage the zoom of the map at starting point

Discussion created by ggyamin on Jul 8, 2010
Latest reply on Jul 13, 2010 by fjmcgowa
help i want the map to be at zoomed in section at the opening of the map page
i have tried to use the foaling but nothing happen only after the map is loaded completely  the foaling code works.

mapCenterPoint=map.extent.getCenter();
map.centerAndZoom(mapCenterPoint,scaleDegry);
map.resize();

second i have the same problem hiding the zoom scrooler the foaling code only works after the map is completely download how can i load the map without the scroller

map.hideZoomSlider()

thanks

Outcomes