[OpenLayers-Dev] How to add ZoomOut in NavToolbar control?
Myeong Hun Jeong
mhjeong74 at gmail.com
Mon Jan 19 06:27:07 EST 2009
Dear list.
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?
Best regards,
Jeong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090119/5d4c4afe/attachment.html
More information about the Dev
mailing list