Hi!

In my Ext.onReady(function() I have the next options to the map:

var options = {
controls : [new OpenLayers.Control()],
minExtent : new OpenLayers.Bounds(-1, -1, 1, 1),
maxResolution : 0.35,
maxZoomLevel : 10,
maxExtent : new OpenLayers.Bounds(-1.53544921875, 37.81, 0.0000, 40.84),
tileSize : new OpenLayers.Size(400, 550) //Tamaño de las "tiles" que
conforman el mapa
};

map = new OpenLayers.Map('olmap', options);

And the layers have {'buffer':1} property.

But when I use the toolbar OpenLayers.Control.ZoomBox component, the map is
draw with the default options.

How can I preserve the first configuration although I zoom the map? Thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to