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