Overlay stopEvent and insertFirst default to true

This commit is contained in:
Éric Lemoine
2013-10-30 09:49:38 +01:00
parent d7c696fc76
commit 16b817b830
6 changed files with 18 additions and 20 deletions

View File

@@ -67,13 +67,13 @@ ol.Overlay = function(options) {
* @type {boolean}
*/
this.insertFirst_ = goog.isDef(options.insertFirst) ?
options.insertFirst : false;
options.insertFirst : true;
/**
* @private
* @type {boolean}
*/
this.stopEvent_ = goog.isDef(options.stopEvent) ? options.stopEvent : false;
this.stopEvent_ = goog.isDef(options.stopEvent) ? options.stopEvent : true;
/**
* @private