Hi,
sometimes, some users do request zoomWorld icon in PanZoomBar. This icon
is available only in PanZoom control.

I created ticket #1131 [1] with small patch [2], which makes it
possible. PanZoomBar option is then to be initialized as

map.addControl(new OpenLayers.Control.PanZoomBar({zoomWorldIcon:true}));

Example can be seen in my sandbox [3].

Hope, you like it. Please let me know if not

Cheers

Jachym

[1] http://trac.openlayers.org/ticket/1131 
[2]
http://trac.openlayers.org/attachment/ticket/1131/PanZoomBar.js.diff#preview
[3]
http://dev.openlayers.org/sandbox/jachym/openlayers/examples/controls.html
-- 
Jachym Cepicky
e-mail: [EMAIL PROTECTED]
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to