Add rotation property to ol.style.Text
This commit is contained in:
@@ -13,6 +13,11 @@ ol.style.Text = function(options) {
|
||||
*/
|
||||
this.font = options.font;
|
||||
|
||||
/**
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
this.rotation = options.rotation;
|
||||
|
||||
/**
|
||||
* @type {string|undefined}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user