Rename handleMapPostrender to render (overlay)
This commit is contained in:
@@ -256,7 +256,7 @@ ol.Overlay.prototype.handleMapChanged = function() {
|
|||||||
var map = this.getMap();
|
var map = this.getMap();
|
||||||
if (goog.isDefAndNotNull(map)) {
|
if (goog.isDefAndNotNull(map)) {
|
||||||
this.mapPostrenderListenerKey_ = goog.events.listen(map,
|
this.mapPostrenderListenerKey_ = goog.events.listen(map,
|
||||||
ol.MapEventType.POSTRENDER, this.handleMapPostrender, false, this);
|
ol.MapEventType.POSTRENDER, this.render, false, this);
|
||||||
this.updatePixelPosition_();
|
this.updatePixelPosition_();
|
||||||
var container = this.stopEvent_ ?
|
var container = this.stopEvent_ ?
|
||||||
map.getOverlayContainerStopEvent() : map.getOverlayContainer();
|
map.getOverlayContainerStopEvent() : map.getOverlayContainer();
|
||||||
@@ -273,7 +273,7 @@ ol.Overlay.prototype.handleMapChanged = function() {
|
|||||||
/**
|
/**
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
ol.Overlay.prototype.handleMapPostrender = function() {
|
ol.Overlay.prototype.render = function() {
|
||||||
this.updatePixelPosition_();
|
this.updatePixelPosition_();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user