Merge pull request #7542 from ahocevar/overflow
Still respect deprecated exceedLength option
This commit is contained in:
@@ -78,11 +78,14 @@ ol.style.Text = function(opt_options) {
|
||||
*/
|
||||
this.placement_ = options.placement !== undefined ? options.placement : ol.style.TextPlacement.POINT;
|
||||
|
||||
//TODO Use options.overflow directly after removing @deprecated exceedLength
|
||||
var overflow = options.overflow === undefined ? options.exceedLength : options.overflow;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.overflow_ = options.overflow !== undefined ? options.overflow : false;
|
||||
this.overflow_ = overflow !== undefined ? overflow : false;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user