we now can remove the getExtent() function from Google.js and VirtualEarth.js

git-svn-id: http://svn.openlayers.org/trunk/openlayers@951 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-16 16:56:15 +00:00
parent 3776a5d729
commit d15d941d68
2 changed files with 0 additions and 36 deletions

View File

@@ -214,24 +214,6 @@ OpenLayers.Layer.VirtualEarth.prototype =
}
return zoom;
},
/**
* @returns A Bounds object which represents the lon/lat bounds of the
* current viewPort.
* If vemap is not loaded, returns null
* @type OpenLayers.Bounds
*/
getExtent: function () {
var extent = null;
if (this.vemap != null) {
if (this.vemap.getCenter() == null) {
this.moveTo();
}
var veLatLongBounds = this.vemap.getBounds();
extent = this.getOLBoundsFromVELatLongBounds(veLatLongBounds);
}
return extent;
},
/********************************************************/