From 208957ade6e50e173631b6bd83a634eefe1a5250 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 16 Aug 2006 05:49:07 +0000 Subject: [PATCH] there has never been a VELatLongBounds... at least not that we know of. this code was just brought over from google. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1230 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/VirtualEarth.js | 43 ---------------------------- 1 file changed, 43 deletions(-) diff --git a/lib/OpenLayers/Layer/VirtualEarth.js b/lib/OpenLayers/Layer/VirtualEarth.js index db7b4afe7e..cf115eb50a 100644 --- a/lib/OpenLayers/Layer/VirtualEarth.js +++ b/lib/OpenLayers/Layer/VirtualEarth.js @@ -333,49 +333,6 @@ OpenLayers.Layer.VirtualEarth.prototype = return pixel; }, - // - // TRANSLATION: VELatLongBounds <-> OpenLayers.Bounds - // - - /** - * @param {VELatLongBounds} veLatLongBounds - * - * @returns An OpenLayers.Bounds, translated from veLatLongBounds - * Returns null if null value is passed in - * @type OpenLayers.Bounds - */ - getOLBoundsFromVELatLongBounds: function(veLatLongBounds) { - var olBounds = null; - if (veLatLongBounds != null) { - var sw = veLatLongBounds.getSouthWest(); - var ne = veLatLongBounds.getNorthEast(); - olBounds = new OpenLayers.Bounds(sw.lng(), - sw.lat(), - ne.lng(), - ne.lat() ); - } - return olBounds; - }, - - /** - * @param {OpenLayers.Bounds} olBounds - * - * @returns A VELatLongBounds, translated from olBounds - * Returns null if null value is passed in - * @type VELatLongBounds - */ - getVELatLongBoundsFromOLBounds: function(olBounds) { - var veLatLongBounds = null; - if (olBounds != null) { - var sw = new VELatLong(olBounds.bottom, olBounds.left); - var ne = new VELatLong(olBounds.top, olBounds.right); - veLatLongBounds = new VELatLongBounds(sw, ne); - } - return veLatLongBounds; - }, - - - /** @final @type String */ CLASS_NAME: "OpenLayers.Layer.VirtualEarth" });