Rename handleMapPostrender to render (overlay)

This commit is contained in:
Éric Lemoine
2014-12-08 17:04:32 +01:00
parent d07185e8f2
commit a9f3367310

View File

@@ -256,7 +256,7 @@ ol.Overlay.prototype.handleMapChanged = function() {
var map = this.getMap();
if (goog.isDefAndNotNull(map)) {
this.mapPostrenderListenerKey_ = goog.events.listen(map,
ol.MapEventType.POSTRENDER, this.handleMapPostrender, false, this);
ol.MapEventType.POSTRENDER, this.render, false, this);
this.updatePixelPosition_();
var container = this.stopEvent_ ?
map.getOverlayContainerStopEvent() : map.getOverlayContainer();
@@ -273,7 +273,7 @@ ol.Overlay.prototype.handleMapChanged = function() {
/**
* @protected
*/
ol.Overlay.prototype.handleMapPostrender = function() {
ol.Overlay.prototype.render = function() {
this.updatePixelPosition_();
};