Basic support for text symbolizers
This adds basic label rendering for points and polygons to the canvas renderer, and a text symbolizer to the style package.
This commit is contained in:
@@ -573,6 +573,15 @@
|
||||
* @property {Array.<ol.style.Rule>} rules Rules.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.style.TextOptions
|
||||
* @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 {number|ol.Expression|undefined} opacity Opacity (0-1).
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.tilegrid.TileGridOptions
|
||||
* @property {number|undefined} minZoom Minimum zoom.
|
||||
|
||||
Reference in New Issue
Block a user