Use 'text' instead of 'name' for the label text

This commit is contained in:
ahocevar
2013-06-19 22:10:44 +02:00
parent 7353e05a90
commit cb9f4972df
5 changed files with 15 additions and 15 deletions

View File

@@ -578,7 +578,7 @@
* @property {string|ol.Expression|undefined} color Color.
* @property {string|ol.Expression|undefined} fontFamily Font family.
* @property {number|ol.Expression|undefined} fontSize Font size in pixels.
* @property {string|ol.Expression} name Name (i.e. text content) of the label.
* @property {string|ol.Expression} text Text for the label.
* @property {number|ol.Expression|undefined} opacity Opacity (0-1).
*/