Make stroke style of the graticule configurable
This commit is contained in:
committed by
Éric Lemoine
parent
b8dca21286
commit
b60609d93c
@@ -109,6 +109,7 @@ olx.LogoOptions;
|
||||
/**
|
||||
* @typedef {{map: (ol.Map|undefined),
|
||||
* maxLines: (number|undefined),
|
||||
* strokeStyle: (ol.style.Stroke|undefined),
|
||||
* targetSize: (number|undefined)}}
|
||||
*/
|
||||
olx.GraticuleOptions;
|
||||
@@ -133,6 +134,15 @@ olx.GraticuleOptions.prototype.map;
|
||||
olx.GraticuleOptions.prototype.maxLines;
|
||||
|
||||
|
||||
/**
|
||||
* The stroke style to use for drawing the graticule. If not provided, the
|
||||
* lines will be drawn with `rgba(0,0,0,0.2)`, a not fully opaque black.
|
||||
*
|
||||
* @type {ol.style.Stroke|undefined}
|
||||
*/
|
||||
olx.GraticuleOptions.prototype.strokeStyle;
|
||||
|
||||
|
||||
/**
|
||||
* The target size of the graticule cells, in pixels. Default
|
||||
* value is 100 pixels.
|
||||
|
||||
Reference in New Issue
Block a user