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:
@@ -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;
|
||||
},
|
||||
|
||||
|
||||
/********************************************************/
|
||||
|
||||
Reference in New Issue
Block a user