Hi,
there will be possibly more meanings to this topic: ZoomWorld icon in
PanZoom Control zooms always to this.map.maxExtent.

All other panning buttons are respecting this.map.restrictedExtent (if
set).

IMHO, zoomWorld icon should zoom to this.map.restrictedExtent as well.
If this is not set, than it should zoom to maxExtent.

What do you think about this?

I prepared ticket for it [1] as well as small (6 lines) patch [2].

Looking forward to your comments

Cheers

Jachym

[1] http://trac.openlayers.org/ticket/1134 
[2]
http://trac.openlayers.org/attachment/ticket/1134/PanZoom.js.diff#preview
-- 
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