diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 38b73e4cfb..237c830305 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -564,6 +564,15 @@ OpenLayers.Map.prototype = { return maxResolution; }, + /** Wrapper to maintain defined API functionality. + * getMaxExtent() should be used from now on. + * + * @deprecated + */ + getFullExtent: function() { + this.getMaxExtent(); + }, + /** * @type OpenLayers.Bounds */ @@ -695,6 +704,15 @@ OpenLayers.Map.prototype = { this.getZoomForExtent(bounds)); }, + /** Wrapper to maintain defined API functionality. + * zoomToMaxExtent() should be used from now on. + * + * @deprecated + */ + zoomToFullExtent: function() { + this.zoomToMaxExtent(); + }, + /** Zoom to the full extent and recenter. */ zoomToMaxExtent: function() {