[OpenLayers-Dev] How to add ZoomOut in NavToolbar control?
Myeong Hun Jeong
mhjeong74 at gmail.com
Mon Jan 19 06:27:07 EST 2009
I am a beginner at OpenLayers.
I want to add ZoomOut Function in NavToolbar control.
First of all, I load
map.addControl( new OpenLayers.Control.NavToolbar() );
In the control, I can see pan and zoomin tools.
Next, how to add zoomout tool in the NavToolbar.
the function of zoomout is in ZoomBox.js. so, how to activate the fucnion?
As I know, I should chnage out porperty in ZoomBox.js from false to true.
but, I don't know how to change the property?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev