Consider polygon labels only when they fit the intersection length

This commit is contained in:
Andreas Hocevar
2017-09-27 18:06:30 +02:00
parent 7a3e11b9e4
commit 325fac6886
4 changed files with 80 additions and 11 deletions
+3 -2
View File
@@ -7676,8 +7676,9 @@ olx.style.TextOptions;
/**
* When `placement` is set to `'line'`, allow text to exceed the length of the
* path that it follows. Default is `false`.
* For polygon labels or when `placement` is set to `'line'`, allow text to
* exceed the width of the polygon at the the label position or the length of
* the path that it follows. Default is `false`.
* @type {boolean|undefined}
* @api
*/