[OpenLayers-Users] zoommapextent question

Karina Guardado kguardado at gmail.com
Thu Feb 25 15:39:27 EST 2010


Hi,

I'm working with mapfish and openlayers and my problem is that when I use
the option Zoom to maximum  Map Extent I always go the whole world extent
even when I define my box as follows

 var options = {
        projection: "EPSG:4326", units: "degrees", maxResolution: "auto",
        maxExtent: new OpenLayers.Bounds(-90.23209, 12.80045,
-87.46078, 14.62967)
          };


 where is my problem? any help thanks in advance.

karina
El Salvador
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100225/d9fe4d49/attachment.html


More information about the Users mailing list