AnsweredAssumed Answered

Zoom in Zoom out control

Question asked by pramodharithsa on Jun 7, 2012
Latest reply on Jun 12, 2012 by hzhu
Hi,
I have two external button for zoomin and zoom out.
on click of zoomin button i am using
map.centerAndZoom()
function.
But it doesnt work for me.
i want the extent to be maximixed and minimized..

when use this,
map.centerAndZoom((0,0),1)
map.centerAndZoom((0,0),2)

map centers to one position.. how do i make it dynamic..
i.e., on click on button it should keep zooming in.. and similarly the zoom out button as well

what other functions for the same can i manifest?

Outcomes