From f30d0e40c2418feadbeaebcaf822a307f8bce98b Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 19 Jan 2007 22:25:17 +0000 Subject: [PATCH] lets the overview map work with the argparser control - see #474 git-svn-id: http://svn.openlayers.org/trunk/openlayers@2165 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/OverviewMap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index 19d3f5740a..7d134978e2 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -186,7 +186,9 @@ OpenLayers.Control.OverviewMap.prototype = // show the overview map this.element.style.display = ''; } - + if(this.map.getExtent()) { + this.update(); + } return this.div; },