I have the following function:
var control = new OpenLayers.Control.ZoomToMaxExtent({ trigger: function(){ mapPanel.map.setCenter(new OpenLayers.LonLat(-75,-10).transform(new OpenLayers.Projection('EPSG:4326'),new OpenLayers.Projection('EPSG:900913')),5); }});and it works great in my...