[OpenLayers-Dev] new patch with feature: enabeling zoomWorldIcon in PanZoomBar

Jachym Cepicky jachym.cepicky at gmail.com
Fri Nov 9 04:42:31 EST 2007


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: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20071109/38bd1d86/attachment.bin


More information about the Dev mailing list