Trigger a render in ol.Control#setMap

Closes #1525
This commit is contained in:
Frederic Junod
2014-01-27 11:59:43 +01:00
parent c372a5cc53
commit 80bb95e553

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();
}
};