Add missing private member
This commit is contained in:
@@ -78,6 +78,12 @@ ol.Overlay = function(options) {
|
|||||||
visible: true
|
visible: true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
* @type {goog.events.Key}
|
||||||
|
*/
|
||||||
|
this.mapPostrenderListenerKey_ = null;
|
||||||
|
|
||||||
goog.events.listen(
|
goog.events.listen(
|
||||||
this, ol.Object.getChangeEventType(ol.OverlayProperty.ELEMENT),
|
this, ol.Object.getChangeEventType(ol.OverlayProperty.ELEMENT),
|
||||||
this.handleElementChanged, false, this);
|
this.handleElementChanged, false, this);
|
||||||
|
|||||||
Reference in New Issue
Block a user