From 4ab6b7ec246b978c8a907111134f17b17efd2f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Fri, 19 Mar 2010 09:38:46 +0000 Subject: [PATCH] Layer.MapGuide.getURL: use map.getSize instead of map.getCurrentSize. r=bartvde (closes #2532) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10118 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/MapGuide.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/MapGuide.js b/lib/OpenLayers/Layer/MapGuide.js index 68994193cb..3588c98bf1 100644 --- a/lib/OpenLayers/Layer/MapGuide.js +++ b/lib/OpenLayers/Layer/MapGuide.js @@ -264,7 +264,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, { getURL: function (bounds) { var url; var center = bounds.getCenterLonLat(); - var mapSize = this.map.getCurrentSize(); + var mapSize = this.map.getSize(); if (this.singleTile) { //set up the call for GETMAPIMAGE or GETDYNAMICMAPOVERLAY with