Fix strokeStyle documentation
This commit is contained in:
@@ -86,9 +86,13 @@ const INTERVALS = [
|
|||||||
* appropriate for conformal projections like Spherical Mercator. If you
|
* appropriate for conformal projections like Spherical Mercator. If you
|
||||||
* increase the value, more lines will be drawn and the drawing performance will
|
* increase the value, more lines will be drawn and the drawing performance will
|
||||||
* decrease.
|
* decrease.
|
||||||
* @property {Stroke} [strokeStyle='rgba(0,0,0,0.2)'] The
|
* @property {Stroke} [strokeStyle] The
|
||||||
* stroke style to use for drawing the graticule. If not provided, a not fully
|
* stroke style to use for drawing the graticule. If not provided, the following stroke will be used:
|
||||||
* opaque black will be used.
|
* ```js
|
||||||
|
* new Stroke({
|
||||||
|
* color: 'rgba(0, 0, 0, 0.2)' // a not fully opaque black
|
||||||
|
* });
|
||||||
|
* ```
|
||||||
* @property {number} [targetSize=100] The target size of the graticule cells,
|
* @property {number} [targetSize=100] The target size of the graticule cells,
|
||||||
* in pixels.
|
* in pixels.
|
||||||
* @property {boolean} [showLabels=false] Render a label with the respective
|
* @property {boolean} [showLabels=false] Render a label with the respective
|
||||||
|
|||||||
Reference in New Issue
Block a user