Trigger a render in ol.Control#setMap

Closes #1525
This commit is contained in:
Frederic Junod committed 2014-01-27 13:34:20 +01:00
1 parent c372a5cc53
commit 80bb95e553
1 file changed
+1
+1
View File
@@ -102,5 +102,6 @@ ol.control.Control.prototype.setMap = function(map) {
this.listenerKeys.push(goog.events.listen(map,
ol.MapEventType.POSTRENDER, this.handleMapPostrender, false, this));
}
map.render();
}
};