From 2a28b7c699656a19862ccef7dd53a98f73dcd0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 24 Jan 2013 22:07:04 +0100 Subject: [PATCH] Add comment --- src/ol/map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/map.js b/src/ol/map.js index 0202d0d2af..a5ebaae2aa 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -289,6 +289,7 @@ ol.Map = function(mapOptions) { this.handleSizeChanged_, false, this); this.setValues(mapOptionsInternal.values); + // this gives the map an initial size this.handleBrowserWindowResize(); this.controls_.forEach(